From 91e065ec175e3d40439230d0a70b2c2c73ff024b Mon Sep 17 00:00:00 2001 From: furszy Date: Sun, 24 Mar 2024 01:03:51 -0300 Subject: [PATCH] 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. --- src/wallet/wallet.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 6695edc70ec..680b4b651b4 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -4275,10 +4275,6 @@ bool CWallet::ApplyMigrationData(MigrationData& data, bilingual_str& error) } local_wallet_batch.TxnCommit(); - // Connect the SPKM signals - ConnectScriptPubKeyManNotifiers(); - NotifyCanGetAddressesChanged(); - WalletLogPrintf("Wallet migration complete.\n"); return true;