aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index d7577359..ffbe4e54 100644
--- a/main.qml
+++ b/main.qml
@@ -2253,7 +2253,7 @@ ApplicationWindow {
}
function getDefaultDaemonRpcPort(networkType) {
- switch (networkType) {
+ switch (parseInt(networkType)) {
case NetworkType.STAGENET:
return 38081;
case NetworkType.TESTNET: