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:
1 file changed
-4
@@ -3934,10 +3934,6 @@ bool CWallet::ApplyMigrationData(MigrationData& data, bilingual_str& error)
|
|||||||
error = _("Error: Not all watchonly txs could be deleted");
|
error = _("Error: Not all watchonly txs could be deleted");
|
||||||
return false;
|
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
|
// Check the address book data in the same way we did for transactions
|
||||||
|
|||||||
Reference in new issue
Block a user