Skip to content

Commit

Permalink
[refactor] remove access to mapTx from node/interfaces.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
glozow committed Sep 1, 2023
1 parent 4f01b0b commit 153acc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node/interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -783,8 +783,8 @@ class ChainImpl : public Chain
{
if (!m_node.mempool) return;
LOCK2(::cs_main, m_node.mempool->cs);
for (const CTxMemPoolEntry& entry : m_node.mempool->mapTx) {
notifications.transactionAddedToMempool(entry.GetSharedTx());
for (const auto& txinfo : m_node.mempool->infoAll()) {
notifications.transactionAddedToMempool(txinfo.tx);
}
}
bool hasAssumedValidChain() override
Expand Down

0 comments on commit 153acc6

Please sign in to comment.