dimxy / komodo

Komodo
https://komodoplatform.com/
Other
7 stars 4 forks source link

Reordered checks in CheckTokensvout #55

Open dimxy opened 3 years ago

dimxy commented 3 years ago

Reordered checks in CheckTokensvout: SpkHasEvalcodeCCV2 call moved topmost, so it would not mistakenly try to check non tokens vouts as tokens' also bad opreturn decode returned -1 instead 0 (would fail cc tx with bad token opreturns)

dimxy commented 3 years ago

fixed in tokel dont forget to fix in research