mirror of
https://github.com/status-im/status-react.git
synced 2025-01-12 03:54:32 +00:00
custom networkid fix (#13765)
This commit is contained in:
parent
8ec2f23203
commit
e39277b739
@ -265,7 +265,7 @@
|
|||||||
[{:method "net_version"
|
[{:method "net_version"
|
||||||
:on-success
|
:on-success
|
||||||
(fn [fetched-network-id]
|
(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
|
;;TODO: this shouldn't happen but in case it does
|
||||||
;;we probably want a better error message
|
;;we probably want a better error message
|
||||||
(utils/show-popup
|
(utils/show-popup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user