Test
This commit is contained in:
@@ -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 )
|
if ( myGetTransaction(betTx.vin[0].prevout.hash,entropyTx,hashBlock) != 0 )
|
||||||
{
|
{
|
||||||
flag = 0;
|
flag = KOMODO_HOUSENODE != 0;
|
||||||
if ( scriptPubKey == fundingPubKey )
|
if ( KOMODO_HOUSENODE != 0 && scriptPubKey == fundingPubKey )
|
||||||
{
|
{
|
||||||
bettorentropy = DiceGetEntropy(betTx,'B');
|
bettorentropy = DiceGetEntropy(betTx,'B');
|
||||||
if ( (iswin= DiceIsWinner(hentropyproof,entropyvout,txid,betTx,entropyTx,bettorentropy,sbits,minbet,maxbet,maxodds,timeoutblocks,fundingtxid)) != 0 )
|
if ( (iswin= DiceIsWinner(hentropyproof,entropyvout,txid,betTx,entropyTx,bettorentropy,sbits,minbet,maxbet,maxodds,timeoutblocks,fundingtxid)) != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user