Ver código fonte

refresh the account list when initializing the card

Guillaume Ballet 6 anos atrás
pai
commit
8c786a1f99
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      accounts/scwallet/wallet.go

+ 1 - 0
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)