From 57797961db87b6024decd121e685fdb3eb01af98 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Mon, 29 Oct 2018 12:27:37 +0800 Subject: [PATCH] try --- src/cc/dice.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 9c7bc31b7..1f31ff652 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -973,10 +973,11 @@ std::string DiceBet(uint64_t txfee,char *planstr,uint256 fundingtxid,int64_t bet return(""); } int32_t entropytxs=0,emptyvar=0; + char str[65]; funding = DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,entropytxs,false); - printf("first entropy val found: %ld\n",entropyval); + printf("first entropy tx found: %s\n",uint256_str(str,entropytxid)); DicePlanFunds(entropyval,entropytxid,sbits,cp,dicepk,fundingtxid,emptyvar,true); - printf("second entropy val found: %ld\n",entropyval); + printf("second entropy tx found: %s\n",uint256_str(str,entropytxid)); if ( ( funding >= 2*bet*odds+txfee && entropyval != 0 ) ) { if ( entropytxs < 100 ) {