mirror of https://github.com/status-im/op-geth.git
refresh the account list when initializing the card
This commit is contained in:
parent
79f4cfac2e
commit
8c786a1f99
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue