mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-29 12:41:44 +00:00
Merge pull request #609 from orijtech/parseConfig-doc-update
cmd/tendermint/commands: update ParseConfig doc
This commit is contained in:
@ -21,7 +21,8 @@ func init() {
|
|||||||
RootCmd.PersistentFlags().String("log_level", config.LogLevel, "Log level")
|
RootCmd.PersistentFlags().String("log_level", config.LogLevel, "Log level")
|
||||||
}
|
}
|
||||||
|
|
||||||
// ParseConfig will setup the tendermint configuration properly
|
// ParseConfig retrieves the default environment configuration,
|
||||||
|
// sets up the Tendermint root and ensures that the root exists
|
||||||
func ParseConfig() (*cfg.Config, error) {
|
func ParseConfig() (*cfg.Config, error) {
|
||||||
conf := cfg.DefaultConfig()
|
conf := cfg.DefaultConfig()
|
||||||
err := viper.Unmarshal(conf)
|
err := viper.Unmarshal(conf)
|
||||||
|
Reference in New Issue
Block a user