Explorar o código

refresh the account list when initializing the card

Guillaume Ballet %!s(int64=6) %!d(string=hai) anos
pai
achega
8c786a1f99
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)