diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 88b2b65c0..564ac83f4 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -578,6 +578,7 @@ bool DiceValidate(struct CCcontract_info *cp,Eval *eval,const CTransaction &tx) //vout.0: funding CC change to entropy owner //vout.2: normal output to bettor's address //vout.n-1: opreturn 'W' sbits fundingtxid hentropy proof + LOCK2(cs_main, pwalletMain->cs_wallet); fprintf(stderr, "vout value: %ld\n", vinTx.vout[2].nValue); odds = vinTx.vout[2].nValue - txfee; if ( ConstrainVout(tx.vout[0],1,cp->unspendableCCaddr,0) == 0 )