Start wallet services when log into keycard account

This commit is contained in:
Roman Volosovskyi 2020-02-26 18:21:25 +02:00
parent 5cc60de80b
commit 6cc1365536
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 3 additions and 0 deletions

View File

@ -239,6 +239,9 @@ func (b *GethStatusBackend) startNodeWithKey(acc multiaccounts.Account, password
if err != nil {
return err
}
if err := b.startWallet(); err != nil {
return err
}
err = b.multiaccountsDB.UpdateAccountTimestamp(acc.KeyUID, time.Now().Unix())
if err != nil {
return err