From e39277b739ed86ff42af04c705acdbb3078c8378 Mon Sep 17 00:00:00 2001 From: flexsurfer Date: Fri, 5 Aug 2022 16:24:33 +0200 Subject: [PATCH] custom networkid fix (#13765) --- src/status_im/multiaccounts/login/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/multiaccounts/login/core.cljs b/src/status_im/multiaccounts/login/core.cljs index 7f8d26de00..f75bcca5e7 100644 --- a/src/status_im/multiaccounts/login/core.cljs +++ b/src/status_im/multiaccounts/login/core.cljs @@ -265,7 +265,7 @@ [{:method "net_version" :on-success (fn [fetched-network-id] - (when (not= network-id fetched-network-id) + (when (not= network-id (str (int fetched-network-id))) ;;TODO: this shouldn't happen but in case it does ;;we probably want a better error message (utils/show-popup