0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-13 11:25:02 -05:00

fix misleading comment about call to non-existing function

This commit is contained in:
pox 2020-12-12 06:55:09 +02:00
parent 6a48063671
commit cc3044ccdb

View file

@ -1178,9 +1178,8 @@ void CWallet::transactionRemovedFromMempool(const CTransactionRef& tx, MemPoolRe
// Handle transactions that were removed from the mempool because they // Handle transactions that were removed from the mempool because they
// conflict with transactions in a newly connected block. // conflict with transactions in a newly connected block.
if (reason == MemPoolRemovalReason::CONFLICT) { if (reason == MemPoolRemovalReason::CONFLICT) {
// Call SyncNotifications, so external -walletnotify notifications will // Trigger external -walletnotify notifications for these transactions.
// be triggered for these transactions. Set Status::UNCONFIRMED instead // Set Status::UNCONFIRMED instead of Status::CONFLICTED for a few reasons:
// of Status::CONFLICTED for a few reasons:
// //
// 1. The transactionRemovedFromMempool callback does not currently // 1. The transactionRemovedFromMempool callback does not currently
// provide the conflicting block's hash and height, and for backwards // provide the conflicting block's hash and height, and for backwards