diff options
author | w0xlt <woltx@protonmail.com> | 2022-12-26 06:14:24 -0300 |
---|---|---|
committer | w0xlt <woltx@protonmail.com> | 2022-12-26 06:14:24 -0300 |
commit | bf19069c53501231a2f3ba59afa067913ec4d3b2 (patch) | |
tree | 2d9b48e13be8bf5cfce762d0a8cda61ef98b0626 /src/node/interfaces.cpp | |
parent | f3bc1a72825fe2b51f4bc20e004cef464f05b965 (diff) | |
download | bitcoin-bf19069c53501231a2f3ba59afa067913ec4d3b2.tar.xz |
wallet: remove `mempool_sequence` from `transactionAddedToMempool`
Diffstat (limited to 'src/node/interfaces.cpp')
-rw-r--r-- | src/node/interfaces.cpp | 4 |
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 |