Skip to content

Commit

Permalink
feat(dpos2.0): set default value of PrintLevel to one
Browse files Browse the repository at this point in the history
  • Loading branch information
RainFallsSilent committed Mar 27, 2023
1 parent f0a0192 commit d6773c1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions common/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ func SetParameters(configuration *Configuration) {
func GetDefaultParams() *Configuration {
// DefaultParams defines the default network parameters.
return &Configuration{
Magic: 2017001,
NodePort: 20338,
Magic: 2017001,
PrintLevel: 1,
NodePort: 20338,
DNSSeeds: []string{
"52.74.28.202:20338",
"52.62.113.83:20338",
Expand Down Expand Up @@ -278,6 +279,7 @@ func GetDefaultParams() *Configuration {
// TestNet returns the network parameters for the test network.
func (p *Configuration) TestNet() *Configuration {
p.Magic = 2018101
p.PrintLevel = 1
p.NodePort = 21338

p.DNSSeeds = []string{
Expand Down Expand Up @@ -395,6 +397,7 @@ func (p *Configuration) TestNet() *Configuration {
// RegNet returns the network parameters for the test network.
func (p *Configuration) RegNet() *Configuration {
p.Magic = 2018201
p.PrintLevel = 1
p.NodePort = 22338

p.DNSSeeds = []string{
Expand Down

0 comments on commit d6773c1

Please sign in to comment.