From cf8725c3b5c3539047e056e766c595929feca7c7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 30 Jul 2018 09:20:51 -1100 Subject: [PATCH] Faucet test --- src/cc/dice.cpp | 2 +- src/cc/faucet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()));