This commit is contained in:
jl777
2018-11-06 19:47:10 -11:00
parent b4568046f0
commit 73b7c27c92

View File

@@ -1232,21 +1232,21 @@ double DiceStatus(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettx
fprintf(stderr,"status bettxid.%s already spent in mempool\n",txid.GetHex().c_str()); fprintf(stderr,"status bettxid.%s already spent in mempool\n",txid.GetHex().c_str());
continue; continue;
} }
bettorentropy = DiceGetEntropy(betTx,'B'); /*bettorentropy = DiceGetEntropy(betTx,'B');
if ( (iswin= DiceIsWinner(hentropyproof,txid,betTx,entropyTx,bettorentropy,sbits,minbet,maxbet,maxodds,timeoutblocks,fundingtxid)) != 0 ) if ( (iswin= DiceIsWinner(hentropyproof,txid,betTx,entropyTx,bettorentropy,sbits,minbet,maxbet,maxodds,timeoutblocks,fundingtxid)) != 0 )
{ {
DiceQueue(iswin,sbits,fundingtxid,txid); DiceQueue(iswin,sbits,fundingtxid,txid);
if ( n++ >= 100 ) if ( ++n >= 100 )
break; break;
} }*/
/*res = DiceBetFinish(entropyused,&result,txfee,planstr,fundingtxid,txid,scriptPubKey == fundingPubKey); res = DiceBetFinish(entropyused,&result,txfee,planstr,fundingtxid,txid,scriptPubKey == fundingPubKey);
if ( result > 0 ) if ( result > 0 )
{ {
mySenddicetransaction(res,entropyused,txid); mySenddicetransaction(res,entropyused,txid);
n++; n++;
if ( n >= 100 ) if ( n >= 100 )
break; break;
} else error = res;*/ } else error = res;
} }
} }
} }