mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-04 12:55:03 +00:00
[#10699] Balance of custom tokens is not updated until app restart
This commit is contained in:
parent
9ce6fea6d5
commit
cbf125e4b5
@ -139,7 +139,8 @@
|
||||
(reduce (fn [acc [address balances]]
|
||||
(let [pos-balances
|
||||
(reduce (fn [acc [token-address token-balance]]
|
||||
(let [token-symbol (get tokens (name token-address))]
|
||||
(let [token-symbol (or (get tokens (name token-address))
|
||||
(get tokens (eip55/address->checksum (name token-address))))]
|
||||
(if (or (and (empty? assets) (pos? token-balance))
|
||||
(and (seq assets) (assets token-symbol)))
|
||||
(assoc acc token-symbol token-balance)
|
||||
|
Loading…
x
Reference in New Issue
Block a user