diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index a2d818344..a0fc68a68 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -15,7 +15,7 @@ #include "CCdice.h" -// timeout, validate, autoqueue +// hentropy_proof, timeout, validate, autoqueue /* in order to implement a dice game, we need a source of entropy, reasonably fast completion time and a way to manage the utxos. diff --git a/src/cc/faucet.cpp b/src/cc/faucet.cpp index 3891a3f9e..de06a1612 100644 --- a/src/cc/faucet.cpp +++ b/src/cc/faucet.cpp @@ -136,7 +136,7 @@ uint64_t AddFaucetInputs(struct CCcontract_info *cp,CMutableTransaction &mtx,CPu // prevent dup if ( GetTransaction(txid,vintx,hashBlock,false) != 0 ) { - if ( (nValue= IsFaucetvout(cp,vintx,(int32_t)it->first.index)) > 0 ) + if ( (nValue= IsFaucetvout(cp,vintx,(int32_t)it->first.index)) > 10000 ) { if ( total != 0 && maxinputs != 0 ) mtx.vin.push_back(CTxIn(txid,(int32_t)it->first.index,CScript()));