diff options
author | w0xlt <woltx@protonmail.com> | 2022-12-26 06:17:05 -0300 |
---|---|---|
committer | w0xlt <woltx@protonmail.com> | 2022-12-26 06:17:05 -0300 |
commit | 55696a0ac30bcfbd555f71cbc8eac23b725f7dcf (patch) | |
tree | 9a57bce5f493e253507eb862117107557db77f2c /src/wallet/wallet.cpp | |
parent | bf19069c53501231a2f3ba59afa067913ec4d3b2 (diff) |
wallet: remove `mempool_sequence` from `transactionRemovedFromMempool`
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 4bcef6996e..d4718e82df 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1365,7 +1365,7 @@ void CWallet::transactionAddedToMempool(const CTransactionRef& tx) { } } -void CWallet::transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRemovalReason reason, uint64_t mempool_sequence) { +void CWallet::transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRemovalReason reason) { LOCK(cs_wallet); auto it = mapWallet.find(tx->GetHash()); if (it != mapWallet.end()) { @@ -1411,7 +1411,7 @@ void CWallet::blockConnected(const interfaces::BlockInfo& block) m_last_block_processed = block.hash; for (size_t index = 0; index < block.data->vtx.size(); index++) { SyncTransaction(block.data->vtx[index], TxStateConfirmed{block.hash, block.height, static_cast<int>(index)}); - transactionRemovedFromMempool(block.data->vtx[index], MemPoolRemovalReason::BLOCK, /*mempool_sequence=*/0); + transactionRemovedFromMempool(block.data->vtx[index], MemPoolRemovalReason::BLOCK); } } |