refresh the account list when initializing the card

This commit is contained in:
Guillaume Ballet 2019-04-02 19:30:15 +02:00
parent 79f4cfac2e
commit 8c786a1f99
1 changed files with 1 additions and 0 deletions

View File

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