From 3cf03a67ac8a986f0325a0665d4709db58c4ffd7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 30 Jul 2018 19:32:46 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 43cf57b49..b743dd2e6 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -540,7 +540,7 @@ struct CCcontract_info *Diceinit(uint256 reffundingtxid,struct CCcontract_info * if ( reffundingtxid == zeroid ) cmpflag = 0; else cmpflag = 1; - fundingtxid = zeriod; + fundingtxid = zeroid; if ( DicePlanExists(fundingtxid,cp,sbits,dicepk,minbet,maxbet,maxodds,timeoutblocks) != cmpflag ) { fprintf(stderr,"Dice plan (%s) already exists\n",planstr);