From f6ab9f307967638440df95da97f310d08da70ff4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 22 Jul 2018 13:16:13 -1100 Subject: [PATCH] Test --- src/cc/faucet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/faucet.cpp b/src/cc/faucet.cpp index f83b9e7e2..fcf64f42d 100644 --- a/src/cc/faucet.cpp +++ b/src/cc/faucet.cpp @@ -112,7 +112,7 @@ bool ProcessFaucet(Eval* eval, std::vector paramsNull,const CTransactio } else return(false); } -uint64_t AddFaucetInputs(CMutableTransaction &mtx,CPubKey pk,uint256 assetid,uint64_t total,int32_t maxinputs) +uint64_t AddFaucetInputs(CMutableTransaction &mtx,CPubKey pk,uint64_t total,int32_t maxinputs) { char coinaddr[64]; uint64_t nValue,price,totalinputs = 0; uint256 txid,hashBlock; std::vector origpubkey; CTransaction vintx; int32_t n = 0; std::vector > unspentOutputs; @@ -124,7 +124,7 @@ uint64_t AddFaucetInputs(CMutableTransaction &mtx,CPubKey pk,uint256 assetid,uin txid = it->first.txhash; if ( GetTransaction(txid,vintx,hashBlock,false) != 0 ) { - if ( (nValue= IsFaucetvout(price,origpubkey,vintx,(int32_t)it->first.index,assetid)) > 0 ) + if ( (nValue= IsFaucetvout(vintx,(int32_t)it->first.index)) > 0 ) { if ( total != 0 && maxinputs != 0 ) mtx.vin.push_back(CTxIn(txid,(int32_t)it->first.index,CScript()));