From 36342965cb3e203205d1fc3dd6451630146bc941 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Mon, 29 Oct 2018 03:30:12 +0800 Subject: [PATCH] w --- src/cc/dice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 702709aa3..b1375f12c 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -578,7 +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); + LOCK(cs_main); odds = vinTx.vout[2].nValue - txfee; if ( ConstrainVout(tx.vout[0],1,cp->unspendableCCaddr,0) == 0 ) return eval->Invalid("vout[0] != inputs-txfee for win/timeout");