From 8c786a1f99f89618b9ba27be9ece0e784861c7d3 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Tue, 2 Apr 2019 19:30:15 +0200 Subject: [PATCH] refresh the account list when initializing the card --- accounts/scwallet/wallet.go | 1 + 1 file changed, 1 insertion(+) diff --git a/accounts/scwallet/wallet.go b/accounts/scwallet/wallet.go index 0533d0599..d2b55d0be 100644 --- a/accounts/scwallet/wallet.go +++ b/accounts/scwallet/wallet.go @@ -589,6 +589,7 @@ 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)