custom networkid fix (#13765)

This commit is contained in:
flexsurfer 2022-08-05 16:24:33 +02:00 committed by GitHub
parent 8ec2f23203
commit e39277b739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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