diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index 5c2c42e97..3326e9447 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -276,7 +276,7 @@ int32_t CC_vinselect(int32_t *aboveip,int64_t *abovep,int32_t *belowip,int64_t * abovei = belowi = -1; for (above=below=i=0; i 150 ) { + if ( numunspents > 500 ) { if ( (rand() % 100) < 80 ) continue; } diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 86483d008..927ab7b95 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) } else { - if ( skipped == 0) + if ( skipped == 0 ) { //vout.0: funding CC change to entropy owner //vout.2: normal output to bettor's address