Fix
This commit is contained in:
@@ -1456,7 +1456,8 @@ UniValue games_fund(uint64_t txfee,struct CCcontract_info *cp,cJSON *params)
|
|||||||
{
|
{
|
||||||
if ( (inputsum= AddNormalinputs(mtx,mypk,amount+GAMES_TXFEE,64)) >= amount+GAMES_TXFEE )
|
if ( (inputsum= AddNormalinputs(mtx,mypk,amount+GAMES_TXFEE,64)) >= amount+GAMES_TXFEE )
|
||||||
{
|
{
|
||||||
mtx.vout.push_back(MakeTokensCC1vout(cp->evalcode,amount,gamespk));
|
mtx.vout.push_back(MakeCC1vout(cp->evalcode,amount,gamespk));
|
||||||
|
if ( 0 )
|
||||||
{
|
{
|
||||||
char destaddr[64];
|
char destaddr[64];
|
||||||
GetScriptaddress(destaddr,mtx.vout[0].scriptPubKey);
|
GetScriptaddress(destaddr,mtx.vout[0].scriptPubKey);
|
||||||
|
|||||||
Reference in New Issue
Block a user