Merge pull request #1296 from Mixa84/FSM

Fix token vout number for Gateways
This commit is contained in:
jl777
2019-02-28 07:10:23 -11:00
committed by GitHub

View File

@@ -399,7 +399,7 @@ int64_t CCfullsupply(uint256 tokenid)
{ {
if (DecodeTokenCreateOpRet(tx.vout[numvouts-1].scriptPubKey,origpubkey,name,description)) if (DecodeTokenCreateOpRet(tx.vout[numvouts-1].scriptPubKey,origpubkey,name,description))
{ {
return(tx.vout[0].nValue); return(tx.vout[1].nValue);
} }
} }
return(0); return(0);