Merge pull request #3965

8199ef0 convert nettype to int to return correct rpc port (plowsof)
This commit is contained in:
luigi1111 2022-07-14 12:58:35 -04:00
commit c6af02353e
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

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