Revert out change
This commit is contained in:
@@ -746,9 +746,10 @@ UniValue rogue_register(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
||||
else if ( buyin > 0 && AddNormalinputs(mtx,mypk,buyin,64) < buyin )
|
||||
return(cclib_error(result,"couldnt find enough normal funds for buyin"));
|
||||
if ( playertxid != zeroid )
|
||||
AddNormalinputs2(mtx,txfee,10);
|
||||
if (playertxid != zeroid )
|
||||
mtx.vin.push_back(CTxIn(playertxid, vout)); // spending cc marker as token is being burned
|
||||
{
|
||||
// AddNormalinputs2(mtx,txfee,10);
|
||||
mtx.vin.push_back(CTxIn(playertxid,1)); // spending cc marker as token is being burned
|
||||
}
|
||||
mtx.vout.push_back(MakeCC1of2vout(cp->evalcode,buyin + inputsum - txfee,roguepk,mypk));
|
||||
GetCCaddress1of2(cp,destaddr,roguepk,roguepk);
|
||||
CCaddr1of2set(cp,roguepk,roguepk,cp->CCpriv,destaddr);
|
||||
|
||||
Reference in New Issue
Block a user