Faucet test

This commit is contained in:
jl777
2018-07-30 09:20:51 -11:00
parent afef48c0bf
commit cf8725c3b5
2 changed files with 2 additions and 2 deletions

View File

@@ -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.

View File

@@ -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()));