diff options
author | John Newbery <john@johnnewbery.com> | 2019-04-12 16:22:12 -0400 |
---|---|---|
committer | gzhao408 <gzhao408@berkeley.edu> | 2020-10-05 04:55:01 -0700 |
commit | b048b275d9711f70847afaea5450f17a0f7e673a (patch) | |
tree | 210b8fe86fc894c175d06885ece5c978fd8df1f4 /src/bench | |
parent | 932564b9cfda8446a957649c2316a52e868ad5d4 (diff) |
[validation] Remove absurdfee from accepttomempool
Mempool behavior should not be user-specific.
Checking that txfee is acceptable should be
the responsibility of the wallet or client, not
the mempool.
Diffstat (limited to 'src/bench')
-rw-r--r-- | src/bench/block_assemble.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp index 3f15f3f856..99a7ad237b 100644 --- a/src/bench/block_assemble.cpp +++ b/src/bench/block_assemble.cpp @@ -49,7 +49,7 @@ static void AssembleBlock(benchmark::Bench& bench) for (const auto& txr : txs) { TxValidationState state; - bool ret{::AcceptToMemoryPool(*test_setup.m_node.mempool, state, txr, nullptr /* plTxnReplaced */, false /* bypass_limits */, /* nAbsurdFee */ 0)}; + bool ret{::AcceptToMemoryPool(*test_setup.m_node.mempool, state, txr, nullptr /* plTxnReplaced */, false /* bypass_limits */)}; assert(ret); } } |