Merge 1e3ed01faa into merged_master (Bitcoin PR bitcoin/bitcoin#23416)

This commit is contained in:
James Dorfman 2024-07-30 06:40:35 +00:00
commit 5b1a4e1dd3

View file

@ -505,8 +505,6 @@ void CTxMemPool::addUnchecked(const CTxMemPoolEntry &entry, setEntries &setAnces
indexed_transaction_set::iterator newit = mapTx.insert(entry).first;
// Update transaction for any feeDelta created by PrioritiseTransaction
// TODO: refactor so that the fee delta is calculated before inserting
// into mapTx.
CAmount delta{0};
ApplyDelta(entry.GetTx().GetHash(), delta);
if (delta) {