Kaynağa Gözat

refresh the account list when initializing the card

Guillaume Ballet 6 yıl önce
ebeveyn
işleme
8c786a1f99
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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)