From b43b4497cc2a7218329ca59deee01f530ebb367e Mon Sep 17 00:00:00 2001 From: Vsevolod Brekelov Date: Fri, 30 Aug 2019 11:22:11 +0300 Subject: [PATCH] Fix config for RPC port and default configPath --- cli/server/server.go | 2 +- config/protocol.privnet.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cli/server/server.go b/cli/server/server.go index bf51603d6..32281bfe5 100644 --- a/cli/server/server.go +++ b/cli/server/server.go @@ -54,7 +54,7 @@ func startServer(ctx *cli.Context) error { grace, cancel := context.WithCancel(newGraceContext()) defer cancel() - configPath := "../config" + configPath := "./config" if argCp := ctx.String("config-path"); argCp != "" { configPath = argCp } diff --git a/config/protocol.privnet.yml b/config/protocol.privnet.yml index 929025858..022b04a8e 100644 --- a/config/protocol.privnet.yml +++ b/config/protocol.privnet.yml @@ -9,6 +9,7 @@ ProtocolConfiguration: - 03d90c07df63e690ce77912e10ab51acc944b66860237b608c4f8f8309e71ee699 - 02a7bc55fe8684e0119768d104ba30795bdcc86619e864add26156723ed185cd62 SeedList: + - 127.0.0.1:20333 - 127.0.0.1:20334 - 127.0.0.1:20335 - 127.0.0.1:20336 @@ -20,8 +21,8 @@ ProtocolConfiguration: ApplicationConfiguration: DataDirectoryPath: "./chains/privnet" - RPCPort: 20332 - NodePort: 20333 + RPCPort: 20331 + NodePort: 20332 Relay: true DialTimeout: 3 ProtoTickInterval: 2