mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 06:47:01 +00:00
fix: fix asset balances on new accounts
This commit is contained in:
parent
1a05b944a2
commit
6bd8aa9504
@ -215,6 +215,7 @@ proc initAccounts*(self: WalletModel) =
|
||||
for account in accounts:
|
||||
var acc = WalletAccount(account)
|
||||
self.populateAccount(acc, "")
|
||||
updateBalance(acc, self.getDefaultCurrency(), true)
|
||||
self.accounts.add(acc)
|
||||
|
||||
proc updateAccount*(self: WalletModel, address: string) =
|
||||
|
Loading…
x
Reference in New Issue
Block a user