diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-07-30 09:11:13 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-07-30 09:09:32 -0400 |
commit | fa587773e59721e187cadc998f4dc236ad3aef0b (patch) | |
tree | 7bf61adc10e630e607c33347757a98d1b674f818 /src/bench | |
parent | fe5c49766c0dc5beaf186d77b568361242b20d5e (diff) |
scripted-diff: Remove unused first argument to addUnchecked
-BEGIN VERIFY SCRIPT-
git grep -l addUnchecked | xargs sed --regexp-extended -i -e 's/addUnchecked\([^)][^,]+,\s*/addUnchecked(/g'
-END VERIFY SCRIPT-
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/mempool_eviction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/mempool_eviction.cpp b/src/bench/mempool_eviction.cpp index d37291b900..4c5489fdc0 100644 --- a/src/bench/mempool_eviction.cpp +++ b/src/bench/mempool_eviction.cpp @@ -16,7 +16,7 @@ static void AddTx(const CTransactionRef& tx, const CAmount& nFee, CTxMemPool& po bool spendsCoinbase = false; unsigned int sigOpCost = 4; LockPoints lp; - pool.addUnchecked(tx->GetHash(), CTxMemPoolEntry( + pool.addUnchecked(CTxMemPoolEntry( tx, nFee, nTime, nHeight, spendsCoinbase, sigOpCost, lp)); } |