From 8ae9e63b092958ef13389c02bc18f768312af0f7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 8 Nov 2018 14:56:27 -1100 Subject: [PATCH] Test --- 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 edf07f38b..9a8f36341 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -435,6 +435,7 @@ void *dicefinish(void *_ptr) } if ( (newht= KOMODO_INSYNC) == 0 || newht == lastheight ) sleep(1); + else usleep(100000); } return(0); } @@ -863,7 +864,7 @@ bool DiceValidate(struct CCcontract_info *cp,Eval *eval,const CTransaction &tx) } else { - //fprintf(stderr,"VALIDATION ERROR: invalid dicebet bettxid %s\n",txid.GetHex().c_str()); + fprintf(stderr,"why does node1 get VALIDATION ERROR: invalid dicebet bettxid %s\n",txid.GetHex().c_str()); //return eval->Invalid("invalid dicebet bettxid"); } break;