This commit is contained in:
jl777
2018-07-30 19:32:46 -11:00
parent e8afffa928
commit 3cf03a67ac

View File

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