Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
[NOD-628] Fix capialization of xxxNet -> xxxnet (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
svarogg authored Jan 9, 2020
1 parent c351692 commit ab40626
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab40626

Please sign in to comment.