change default port on client so it can run side by side with other clients
This commit is contained in:
parent
3072ec83f9
commit
6ddd95fe5a
|
@ -141,6 +141,7 @@ proc setupAccount*(account: GeneratedAccount, password: string): types.Account =
|
|||
var settingsJSON = getAccountSettings(account, constants.DEFAULT_NETWORKS, installationId)
|
||||
var nodeConfig = constants.NODE_CONFIG
|
||||
nodeConfig["ShhextConfig"]["InstallationID"] = newJString(installationId)
|
||||
nodeConfig["ListenAddr"] = if existsEnv("STATUS_PORT"): newJString("0.0.0.0:" & $getEnv("STATUS_PORT")) else: newJString("0.0.0.0:30305")
|
||||
|
||||
result = saveAccountAndLogin(account, $accountData, password, $nodeConfig, $settingsJSON)
|
||||
|
||||
|
|
Loading…
Reference in New Issue