diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index 3326e9447..71669a0a6 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -276,10 +276,6 @@ int32_t CC_vinselect(int32_t *aboveip,int64_t *abovep,int32_t *belowip,int64_t * abovei = belowi = -1; for (above=below=i=0; i 500 ) { - if ( (rand() % 100) < 80 ) - continue; - } if ( (atx_value= utxos[i].nValue) <= 0 ) continue; if ( atx_value == value ) diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 927ab7b95..afebfd4e4 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -1203,6 +1203,7 @@ double DiceStatus(uint64_t txfee,char *planstr,uint256 fundingtxid,uint256 bettx } error = "didnt find dicefinish tx"; } + error = res; return(-1.); } return(0.);