refresh the account list when initializing the card

This commit is contained in:
Guillaume Ballet
2019-04-08 13:21:22 +02:00
parent 79f4cfac2e
commit 8c786a1f99
+1
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)