Skip to content

Commit 91e065e

Browse files
committed
wallet: remove post-migration signals connection
The wallet is isolated during migration and reloaded at the end of the process. There is no benefit on connecting the signals few lines before unloading the wallet.
1 parent 055c053 commit 91e065e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/wallet/wallet.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4275,10 +4275,6 @@ bool CWallet::ApplyMigrationData(MigrationData& data, bilingual_str& error)
42754275
}
42764276
local_wallet_batch.TxnCommit();
42774277

4278-
// Connect the SPKM signals
4279-
ConnectScriptPubKeyManNotifiers();
4280-
NotifyCanGetAddressesChanged();
4281-
42824278
WalletLogPrintf("Wallet migration complete.\n");
42834279

42844280
return true;

0 commit comments

Comments
 (0)