Skip to content

Commit

Permalink
Set tomlConfigVersion to 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
niklr committed Jul 9, 2021
1 parent 88a4617 commit ec72821
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/harmony/config_migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ func init() {
confTree.Set("Pprof.Folder", defaultConfig.Pprof.Folder)
}
if confTree.Get("Pprof.ProfileNames") == nil {
confTree.Set("Pprof.ProfileNames", "")
confTree.Set("Pprof.ProfileNames", []string{})
}
if confTree.Get("Pprof.ProfileIntervals") == nil {
confTree.Set("Pprof.ProfileIntervals", "")
confTree.Set("Pprof.ProfileIntervals", []string{})
}
if confTree.Get("Pprof.ProfileDebugValues") == nil {
confTree.Set("Pprof.ProfileDebugValues", "")
confTree.Set("Pprof.ProfileDebugValues", []string{})
}

confTree.Set("Version", "2.2.0")
Expand Down
2 changes: 1 addition & 1 deletion cmd/harmony/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
nodeconfig "github.com/harmony-one/harmony/internal/configs/node"
)

const tomlConfigVersion = "2.1.0"
const tomlConfigVersion = "2.2.0"

const (
defNetworkType = nodeconfig.Mainnet
Expand Down

0 comments on commit ec72821

Please sign in to comment.