mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge 216f4ca9e7 into merged_master (Bitcoin PR bitcoin/bitcoin#22674)
This commit is contained in:
commit
39e670c88c
9 changed files with 567 additions and 21 deletions
|
|
@ -1095,6 +1095,8 @@ static RPCHelpMan testmempoolaccept()
|
|||
continue;
|
||||
}
|
||||
const auto& tx_result = it->second;
|
||||
// Package testmempoolaccept doesn't allow transactions to already be in the mempool.
|
||||
CHECK_NONFATAL(tx_result.m_result_type != MempoolAcceptResult::ResultType::MEMPOOL_ENTRY);
|
||||
if (tx_result.m_result_type == MempoolAcceptResult::ResultType::VALID) {
|
||||
const CAmount fee = tx_result.m_base_fees.value();
|
||||
// Check that fee does not exceed maximum fee
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue