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.
This commit is contained in:
furszy 2023-07-16 20:16:03 -03:00
parent a2b071f992
commit 595d50a103
No known key found for this signature in database
GPG key ID: 5DD23CCC686AA623

View file

@ -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