From 8ed9accbeb84a43c7ae9e3ad732004bf186b080a Mon Sep 17 00:00:00 2001 From: andrey Date: Thu, 3 Feb 2022 12:57:38 +0100 Subject: [PATCH] [#13070] No wallet is shown when switching on BSC network Signed-off-by: andrey --- src/status_im/multiaccounts/login/core.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/multiaccounts/login/core.cljs b/src/status_im/multiaccounts/login/core.cljs index e61b47b352..9a9fb04773 100644 --- a/src/status_im/multiaccounts/login/core.cljs +++ b/src/status_im/multiaccounts/login/core.cljs @@ -267,11 +267,11 @@ :on-success resolve :on-error reject}))) (js/Promise. - (fn [resolve reject] + (fn [resolve _] (json-rpc/call {:method "wallet_getTokens" :params [(int network-id)] :on-success resolve - :on-error reject}))) + :on-error #(resolve nil)}))) (js/Promise. (fn [resolve reject] (json-rpc/call {:method "wallet_getCustomTokens"