mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
[#13070] No wallet is shown when switching on BSC network
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
c1a338c2dd
commit
8ed9accbeb
@ -267,11 +267,11 @@
|
|||||||
:on-success resolve
|
:on-success resolve
|
||||||
:on-error reject})))
|
:on-error reject})))
|
||||||
(js/Promise.
|
(js/Promise.
|
||||||
(fn [resolve reject]
|
(fn [resolve _]
|
||||||
(json-rpc/call {:method "wallet_getTokens"
|
(json-rpc/call {:method "wallet_getTokens"
|
||||||
:params [(int network-id)]
|
:params [(int network-id)]
|
||||||
:on-success resolve
|
:on-success resolve
|
||||||
:on-error reject})))
|
:on-error #(resolve nil)})))
|
||||||
(js/Promise.
|
(js/Promise.
|
||||||
(fn [resolve reject]
|
(fn [resolve reject]
|
||||||
(json-rpc/call {:method "wallet_getCustomTokens"
|
(json-rpc/call {:method "wallet_getCustomTokens"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user