aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rawtransaction.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-04-12 16:22:12 -0400
committergzhao408 <gzhao408@berkeley.edu>2020-10-05 04:55:01 -0700
commitb048b275d9711f70847afaea5450f17a0f7e673a (patch)
tree210b8fe86fc894c175d06885ece5c978fd8df1f4 /src/rpc/rawtransaction.cpp
parent932564b9cfda8446a957649c2316a52e868ad5d4 (diff)
downloadbitcoin-b048b275d9711f70847afaea5450f17a0f7e673a.tar.xz
[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/rpc/rawtransaction.cpp')
-rw-r--r--src/rpc/rawtransaction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index 35b75d6c47..7a6b605ec3 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -951,7 +951,7 @@ static RPCHelpMan testmempoolaccept()
{
LOCK(cs_main);
test_accept_res = AcceptToMemoryPool(mempool, state, std::move(tx),
- nullptr /* plTxnReplaced */, false /* bypass_limits */, max_raw_tx_fee, /* test_accept */ true, &fee);
+ nullptr /* plTxnReplaced */, false /* bypass_limits */, /* test_accept */ true, &fee);
}
// Check that fee does not exceed maximum fee