Support min fees in a localnet and fix gaiad config (#3172)
This commit is contained in:
committed by
Jack Zampolin
parent
abbd2d4dd3
commit
8211c025da
@@ -21,13 +21,13 @@ var configTemplate *template.Template
|
||||
|
||||
func init() {
|
||||
var err error
|
||||
tmpl := template.New("cosmosConfigFileTemplate")
|
||||
tmpl := template.New("gaiaConfigFileTemplate")
|
||||
if configTemplate, err = tmpl.Parse(defaultConfigTemplate); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
// ParseConfig retrieves the default environment configuration for Cosmos.
|
||||
// ParseConfig retrieves the default environment configuration for Gaia.
|
||||
func ParseConfig() (*Config, error) {
|
||||
conf := DefaultConfig()
|
||||
err := viper.Unmarshal(conf)
|
||||
|
||||
Reference in New Issue
Block a user