diff options
| author | John Newbery <[email protected]> | 2019-04-12 16:22:12 -0400 |
|---|---|---|
| committer | gzhao408 <[email protected]> | 2020-10-05 04:55:01 -0700 |
| commit | b048b275d9711f70847afaea5450f17a0f7e673a (patch) | |
| tree | 210b8fe86fc894c175d06885ece5c978fd8df1f4 /src/bench | |
| parent | scripted-diff: update max-fee-exceeded error message to include RPC (diff) | |
| download | discoin-b048b275d9711f70847afaea5450f17a0f7e673a.tar.xz discoin-b048b275d9711f70847afaea5450f17a0f7e673a.zip | |
[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 3f15f3f85..99a7ad237 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); } } |