Browse Source
Merge pull request #1293 from dimxy/tokens-opret-blobs
corr getting non-funglible data in rogue_highlanderopretdecode
metaverse
jl777
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/cc/rogue_rpc.cpp
|
|
@ -177,7 +177,7 @@ uint8_t rogue_highlanderopretdecode(uint256 &gametxid, uint256 &tokenid, int32_t |
|
|
|
script = (uint8_t *)vopret.data(); |
|
|
|
if ( script[1] == 'c' && (f= DecodeTokenCreateOpRet(scriptPubKey,origpubkey,name,description, oprets)) == 'c' ) |
|
|
|
{ |
|
|
|
GetOpretBlob(oprets, OPRETID_NONFUNGIBLEDATA, vopretDummy); |
|
|
|
GetOpretBlob(oprets, OPRETID_NONFUNGIBLEDATA, vopretNonfungible); |
|
|
|
vopret = vopretNonfungible; |
|
|
|
} |
|
|
|
else if ( script[1] != 'H' && script[1] != 'Q' && (f= DecodeTokenOpRet(scriptPubKey, e, tokenid, voutPubkeys, opretsDummy)) != 0 ) |
|
|
|