From 8e071986946e506d5ecadf474450dd810af67785 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 1 Aug 2018 01:05:17 -1100 Subject: [PATCH] Test --- src/cc/dice.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 52d67a601..cea386fe4 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -448,10 +448,8 @@ bool DiceValidate(struct CCcontract_info *cp,Eval *eval,const CTransaction &tx) for (i=0; iInvalid("vin1 of entropy tx not fundingPubKey for bet"); + //return eval->Invalid("vin1 of entropy tx not fundingPubKey for bet"); } - else if ( vinofvinTx.vout[vinTx.vin[0].prevout.n].nValue != tx.vout[0].nValue ) - return eval->Invalid("vout.0 nValue != entropy nValue for bet"); } if ( (iswin= DiceIsWinner(entropy,txid,tx,vinTx,hash,sbits,minbet,maxbet,maxodds,timeoutblocks,fundingtxid)) != 0 ) {