From b97fa94e72092da1feaf0bb73e8cf14e3c6b027f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 31 Jul 2018 22:54:59 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 06d0f9bf8..865985b25 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -887,6 +887,8 @@ std::string DiceWinLoseTimeout(int32_t *resultp,uint64_t txfee,char *planstr,uin if ( winlosetimeout != 0 ) hentropy = DiceHashEntropy(entropy,mtx.vin[0].prevout.hash); *resultp = 1; + char str[65],str2[65]; + fprintf(stderr,"iswin.%d house entropy %s vs bettor %s\n",iswin,uint256_str(str,hentropyproof),uin256_str(str2,bettorentropy)); return(FinalizeCCTx(0,cp,mtx,mypk,txfee,EncodeDiceOpRet(funcid,sbits,fundingtxid,hentropy,hentropyproof))); } else fprintf(stderr,"iswin.%d does not match.%d\n",iswin,winlosetimeout); } else return("0");