From e8afffa928e935d6ab1eb70562a59c14780f9b4b Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 30 Jul 2018 19:32:12 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index a13572d0c..43cf57b49 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -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);