From ab406260b09ca3e2a4a1729e1c75a74d91241803 Mon Sep 17 00:00:00 2001 From: Svarog Date: Thu, 9 Jan 2020 17:36:28 +0200 Subject: [PATCH] [NOD-628] Fix capialization of xxxNet -> xxxnet (#5) --- config/config.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/config.go b/config/config.go index 82dd9f6b..4706c483 100644 --- a/config/config.go +++ b/config/config.go @@ -109,14 +109,14 @@ func resolveNetwork(cfg *Config) error { "together -- choose one of them") } - activeNetParams = &dagconfig.MainNetParams + activeNetParams = &dagconfig.MainnetParams switch { case cfg.TestNet: - activeNetParams = &dagconfig.TestNetParams + activeNetParams = &dagconfig.TestnetParams case cfg.SimNet: - activeNetParams = &dagconfig.SimNetParams + activeNetParams = &dagconfig.SimnetParams case cfg.DevNet: - activeNetParams = &dagconfig.DevNetParams + activeNetParams = &dagconfig.DevnetParams } return nil