Set token
This commit is contained in:
@@ -697,6 +697,7 @@ UniValue rogue_register(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
|||||||
CScript opretRegister = rogue_registeropret(gametxid, playertxid);
|
CScript opretRegister = rogue_registeropret(gametxid, playertxid);
|
||||||
if ( playertxid != zeroid )
|
if ( playertxid != zeroid )
|
||||||
{
|
{
|
||||||
|
tokenid = playertxid;
|
||||||
if ( GetTransaction(playertxid,playertx,hashBlock,false) != 0 )
|
if ( GetTransaction(playertxid,playertx,hashBlock,false) != 0 )
|
||||||
{
|
{
|
||||||
if ( DecodeTokenOpRet(playertx.vout.back().scriptPubKey, e, tokenid, voutPubkeys, vopretFinish, vopret2) != 0)
|
if ( DecodeTokenOpRet(playertx.vout.back().scriptPubKey, e, tokenid, voutPubkeys, vopretFinish, vopret2) != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user