Skip to content

Commit cc3044c

Browse files
committed
fix misleading comment about call to non-existing function
1 parent 6a48063 commit cc3044c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/wallet/wallet.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,9 +1178,8 @@ void CWallet::transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRe
11781178
// Handle transactions that were removed from the mempool because they
11791179
// conflict with transactions in a newly connected block.
11801180
if (reason == MemPoolRemovalReason::CONFLICT) {
1181-
// Call SyncNotifications, so external -walletnotify notifications will
1182-
// be triggered for these transactions. Set Status::UNCONFIRMED instead
1183-
// of Status::CONFLICTED for a few reasons:
1181+
// Trigger external -walletnotify notifications for these transactions.
1182+
// Set Status::UNCONFIRMED instead of Status::CONFLICTED for a few reasons:
11841183
//
11851184
// 1. The transactionRemovedFromMempool callback does not currently
11861185
// provide the conflicting block's hash and height, and for backwards

0 commit comments

Comments
 (0)