From 2ca168e4e61a2721e3afe9f2ecfdb7bbc960e783 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 8 Nov 2018 02:50:57 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 9c1452da4..1656aa4e4 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -325,8 +325,8 @@ void *dicefinish(void *_ptr) res = DiceBetFinish(funcid,entropyused,&result,0,name,ptr->fundingtxid,ptr->bettxid,ptr->iswin,utxos[m].txid,utxos[m].vout); if ( result > 0 ) { - fprintf(stderr,"%d of %d process %s %s using %s/v%d need %.8f\n",m,n,iter<0?"loss":"win",ptr->bettxid.GetHex().c_str(),utxos[m].txid.GetHex().c_str(),utxos[m].vout,(double)(iter<0 ? 0 : ptr->winamount)/COIN); - //mySenddicetransaction(res,entropyused,ptr->bettxid,ptr->betTx,funcid); + //fprintf(stderr,"%d of %d process %s %s using %s/v%d need %.8f\n",m,n,iter<0?"loss":"win",ptr->bettxid.GetHex().c_str(),utxos[m].txid.GetHex().c_str(),utxos[m].vout,(double)(iter<0 ? 0 : ptr->winamount)/COIN); + mySenddicetransaction(res,entropyused,ptr->bettxid,ptr->betTx,funcid); } else fprintf(stderr,"error doing the dicefinish\n"); free(ptr); if ( ++m >= n )