mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
convert nettype to int to return correct rpc port
This commit is contained in:
parent
b26f38d37e
commit
8199ef004d
1 changed files with 1 additions and 1 deletions
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 a new issue