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/test/txvalidationcache_tests.cpp | |
| 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/test/txvalidationcache_tests.cpp')
| -rw-r--r-- | src/test/txvalidationcache_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/txvalidationcache_tests.cpp b/src/test/txvalidationcache_tests.cpp index 034577aa2..bed2ba360 100644 --- a/src/test/txvalidationcache_tests.cpp +++ b/src/test/txvalidationcache_tests.cpp @@ -30,7 +30,7 @@ BOOST_FIXTURE_TEST_CASE(tx_mempool_block_doublespend, TestChain100Setup) TxValidationState state; return AcceptToMemoryPool(*m_node.mempool, state, MakeTransactionRef(tx), - nullptr /* plTxnReplaced */, true /* bypass_limits */, 0 /* nAbsurdFee */); + nullptr /* plTxnReplaced */, true /* bypass_limits */); }; // Create a double-spend of mature coinbase txn: |