mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
[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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user