mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-03-20 22:28:53 +00:00
Merge pull request #3965
8199ef0
convert nettype to int to return correct rpc port (plowsof)
This commit is contained in:
commit
c6af02353e
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