From f2e6ae729414b6e0deb00db043fc1da35de84998 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Aug 2018 00:50:07 -1100 Subject: [PATCH] Print --- src/cc/dice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index b7e0dd14a..bf0bb24b7 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -121,7 +121,7 @@ void *dicefinish(void *_ptr) CTransaction tx,bettx; uint256 txid,hashBlock; char str[65]; int32_t result; for (i=0; i<10; i++) { - if ( myGettxout(ptr->bettxid,0) != 0 ) + if ( myGettxout(ptr->bettxid,0) != 0 ) // need to wait for mempool to be updated break; fprintf(stderr,"."); sleep(3); @@ -131,6 +131,7 @@ void *dicefinish(void *_ptr) { if ( DecodeHexTx(tx,res) != 0 ) { + fprintf(stderr,"iswin.%d %s\n%s\n",ptr->iswin,res.c_str(),uint256_str(str,tx.GetHash())); LOCK(cs_main); if ( myAddtomempool(tx) != 0 ) {