mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-28 18:56:32 +02:00
convert nettype to int to return correct rpc port
This commit is contained in:
parent
b26f38d37e
commit
8199ef004d
2
main.qml
2
main.qml
@ -2253,7 +2253,7 @@ ApplicationWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getDefaultDaemonRpcPort(networkType) {
|
function getDefaultDaemonRpcPort(networkType) {
|
||||||
switch (networkType) {
|
switch (parseInt(networkType)) {
|
||||||
case NetworkType.STAGENET:
|
case NetworkType.STAGENET:
|
||||||
return 38081;
|
return 38081;
|
||||||
case NetworkType.TESTNET:
|
case NetworkType.TESTNET:
|
||||||
|
Loading…
Reference in New Issue
Block a user