aboutsummaryrefslogtreecommitdiff
path: root/src/node/interfaces.cpp
diff options
context:
space:
mode:
authorw0xlt <woltx@protonmail.com>2022-12-26 06:14:24 -0300
committerw0xlt <woltx@protonmail.com>2022-12-26 06:14:24 -0300
commitbf19069c53501231a2f3ba59afa067913ec4d3b2 (patch)
tree2d9b48e13be8bf5cfce762d0a8cda61ef98b0626 /src/node/interfaces.cpp
parentf3bc1a72825fe2b51f4bc20e004cef464f05b965 (diff)
downloadbitcoin-bf19069c53501231a2f3ba59afa067913ec4d3b2.tar.xz
wallet: remove `mempool_sequence` from `transactionAddedToMempool`
Diffstat (limited to 'src/node/interfaces.cpp')
-rw-r--r--src/node/interfaces.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp
index 7a15f3649b..bc4e0ce110 100644
--- a/src/node/interfaces.cpp
+++ b/src/node/interfaces.cpp
@@ -420,7 +420,7 @@ public:
virtual ~NotificationsProxy() = default;
void TransactionAddedToMempool(const CTransactionRef& tx, uint64_t mempool_sequence) override
{
- m_notifications->transactionAddedToMempool(tx, mempool_sequence);
+ m_notifications->transactionAddedToMempool(tx);
}
void TransactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRemovalReason reason, uint64_t mempool_sequence) override
{
@@ -779,7 +779,7 @@ public:
if (!m_node.mempool) return;
LOCK2(::cs_main, m_node.mempool->cs);
for (const CTxMemPoolEntry& entry : m_node.mempool->mapTx) {
- notifications.transactionAddedToMempool(entry.GetSharedTx(), 0 /* mempool_sequence */);
+ notifications.transactionAddedToMempool(entry.GetSharedTx());
}
}
bool hasAssumedValidChain() override