This commit is contained in:
jl777
2018-07-23 20:11:49 -11:00
parent 6613483bc7
commit 2e41bc4280

View File

@@ -67,7 +67,7 @@ bool FaucetExactAmounts(Eval* eval,const CTransaction &tx,int32_t minage,uint64_
if ( IsFaucetInput(tx.vin[i].scriptSig) != 0 )
{
fprintf(stderr,"vini.%d check mempool\n",i);
if ( mempool.lookup(hash, vinTx) != 0 )
if ( mempool.lookup(tx.vin[i].prevout.hash,vinTx) != 0 )
//if ( eval->GetTxUnconfirmed(tx.vin[i].prevout.hash,vinTx,hashBlock) == 0 )
return eval->Invalid("cant faucet mempool tx");
else