mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 23:07:59 +01:00
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:
parent
a2b071f992
commit
595d50a103
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue