diff options
author | Guillaume Ballet <gballet@gmail.com> | 2019-04-03 01:30:15 +0800 |
---|---|---|
committer | Guillaume Ballet <gballet@gmail.com> | 2019-04-08 19:21:22 +0800 |
commit | 8c786a1f99f89618b9ba27be9ece0e784861c7d3 (patch) | |
tree | ae0dbd2a7f80e932c160ec84801404d74fbec8c9 /accounts/scwallet/wallet.go | |
parent | 79f4cfac2e991f46fc6b80627c6f2cf39876374f (diff) | |
download | go-tangerine-8c786a1f99f89618b9ba27be9ece0e784861c7d3.tar go-tangerine-8c786a1f99f89618b9ba27be9ece0e784861c7d3.tar.gz go-tangerine-8c786a1f99f89618b9ba27be9ece0e784861c7d3.tar.bz2 go-tangerine-8c786a1f99f89618b9ba27be9ece0e784861c7d3.tar.lz go-tangerine-8c786a1f99f89618b9ba27be9ece0e784861c7d3.tar.xz go-tangerine-8c786a1f99f89618b9ba27be9ece0e784861c7d3.tar.zst go-tangerine-8c786a1f99f89618b9ba27be9ece0e784861c7d3.zip |
refresh the account list when initializing the card
Diffstat (limited to 'accounts/scwallet/wallet.go')
-rw-r--r-- | accounts/scwallet/wallet.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accounts/scwallet/wallet.go b/accounts/scwallet/wallet.go index 0533d0599..d2b55d0be 100644 --- a/accounts/scwallet/wallet.go +++ b/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) |