aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-07-16 20:16:03 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2024-01-06 12:40:20 -0300
commit595d50a1032ad7ffa9945464c86aa57f16665e93 (patch)
tree19ca360c0fb44f440168d96776c28fdca1f2058f /src/wallet/wallet.cpp
parenta2b071f9920c2f4893afcc43a152f593c03966bf (diff)
downloadbitcoin-595d50a1032ad7ffa9945464c86aa57f16665e93.tar.xz
wallet: migration, remove extra NotifyTransactionChanged call
The wallet is unloaded at the beginning of the migration process, so no object is listening to the signals.
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 032b1fed20..1c879fb976 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -3934,10 +3934,6 @@ bool CWallet::ApplyMigrationData(MigrationData& data, bilingual_str& error)
error = _("Error: Not all watchonly txs could be deleted");
return false;
}
- // Tell the GUI of each tx
- for (const uint256& txid : deleted_txids) {
- NotifyTransactionChanged(txid, CT_UPDATED);
- }
}
// Check the address book data in the same way we did for transactions