This commit is contained in:
jl777
2018-11-11 08:47:55 -11:00
parent 3424c9cb28
commit 555c82ca01

View File

@@ -1706,8 +1706,8 @@ double DiceStatus(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettx
{
if ( myGetTransaction(betTx.vin[0].prevout.hash,entropyTx,hashBlock) != 0 )
{
flag = 0;
if ( scriptPubKey == fundingPubKey )
flag = KOMODO_HOUSENODE != 0;
if ( KOMODO_HOUSENODE != 0 && scriptPubKey == fundingPubKey )
{
bettorentropy = DiceGetEntropy(betTx,'B');
if ( (iswin= DiceIsWinner(hentropyproof,entropyvout,txid,betTx,entropyTx,bettorentropy,sbits,minbet,maxbet,maxodds,timeoutblocks,fundingtxid)) != 0 )