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…
Reference in New Issue