From 84f9c2e68fb4569c70ef7bfe079516739dd89bd5 Mon Sep 17 00:00:00 2001 From: Galoretka Date: Mon, 13 Oct 2025 11:21:33 +0300 Subject: [PATCH] accounts/scwallet: remove selfDerive start from Initialize to avoid goroutine leak --- accounts/scwallet/wallet.go | 1 - 1 file changed, 1 deletion(-) diff --git a/accounts/scwallet/wallet.go b/accounts/scwallet/wallet.go index 7612953c22..c76794c35c 100644 --- a/accounts/scwallet/wallet.go +++ b/accounts/scwallet/wallet.go @@ -617,7 +617,6 @@ func (w *Wallet) Contains(account accounts.Account) bool { // Initialize installs a keypair generated from the provided key into the wallet. func (w *Wallet) Initialize(seed []byte) error { - go w.selfDerive() // DO NOT lock at this stage, as the initialize // function relies on Status() return w.session.initialize(seed)