remove prints
This commit is contained in:
@@ -560,7 +560,6 @@ bool DiceValidate(struct CCcontract_info *cp,Eval *eval,const CTransaction &tx)
|
||||
return eval->Invalid("sbits or fundingtxid mismatch for wlt");
|
||||
else if ( fundingPubKey != tx.vout[1].scriptPubKey )
|
||||
return eval->Invalid("tx.vout[1] != fundingPubKey for wlt");
|
||||
fprintf(stderr, "vout2.nvalue = %ld\n", vinTx.vout[2].nValue);
|
||||
if ( funcid == 'L' )
|
||||
{
|
||||
//vout.0: funding CC to entropy owner
|
||||
@@ -579,8 +578,6 @@ 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
|
||||
fprintf(stderr, "tx fee: %ld\n",txfee);
|
||||
usleep(5000);
|
||||
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");
|
||||
|
||||
Reference in New Issue
Block a user