This commit is contained in:
jl777
2018-07-30 19:32:12 -11:00
parent 76152f3317
commit e8afffa928

View File

@@ -540,6 +540,7 @@ struct CCcontract_info *Diceinit(uint256 reffundingtxid,struct CCcontract_info *
if ( reffundingtxid == zeroid )
cmpflag = 0;
else cmpflag = 1;
fundingtxid = zeriod;
if ( DicePlanExists(fundingtxid,cp,sbits,dicepk,minbet,maxbet,maxodds,timeoutblocks) != cmpflag )
{
fprintf(stderr,"Dice plan (%s) already exists\n",planstr);