aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorpox <pox@xi27pox.org>2020-12-12 06:55:09 +0200
committerpox <pox@xi27pox.org>2020-12-12 07:01:38 +0200
commitcc3044ccdbefa9fae58d1762477e377883b39c5e (patch)
tree43fa4fd7b604e1b1b5a6cdb163d21ccecc42f523 /src/wallet/wallet.cpp
parent6a48063671770e77266f8e441cc15487d1fff5ed (diff)
downloadbitcoin-cc3044ccdbefa9fae58d1762477e377883b39c5e.tar.xz
fix misleading comment about call to non-existing function
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 01bda27d57..b1e372d5ca 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -1178,9 +1178,8 @@ void CWallet::transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRe
// Handle transactions that were removed from the mempool because they
// conflict with transactions in a newly connected block.
if (reason == MemPoolRemovalReason::CONFLICT) {
- // Call SyncNotifications, so external -walletnotify notifications will
- // be triggered for these transactions. Set Status::UNCONFIRMED instead
- // of Status::CONFLICTED for a few reasons:
+ // Trigger external -walletnotify notifications for these transactions.
+ // Set Status::UNCONFIRMED instead of Status::CONFLICTED for a few reasons:
//
// 1. The transactionRemovedFromMempool callback does not currently
// provide the conflicting block's hash and height, and for backwards