From 595d50a1032ad7ffa9945464c86aa57f16665e93 Mon Sep 17 00:00:00 2001 From: furszy Date: Sun, 16 Jul 2023 20:16:03 -0300 Subject: [PATCH] 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. --- src/wallet/wallet.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 032b1fed201..1c879fb976d 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