convert nettype to int to return correct rpc port

This commit is contained in:
plowsof 2022-07-09 17:41:06 +01:00
parent b26f38d37e
commit 8199ef004d
1 changed files with 1 additions and 1 deletions

View File

@ -2253,7 +2253,7 @@ ApplicationWindow {
}
function getDefaultDaemonRpcPort(networkType) {
switch (networkType) {
switch (parseInt(networkType)) {
case NetworkType.STAGENET:
return 38081;
case NetworkType.TESTNET: