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.
This commit is contained in:
furszy 2024-03-24 01:03:51 -03:00
parent 055c0532fc
commit 91e065ec17
No known key found for this signature in database
GPG key ID: 5DD23CCC686AA623

View file

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