diff --git a/cmd/cheqd-noded/cmd/utils.go b/cmd/cheqd-noded/cmd/utils.go index 5510a13e9..ae512ee51 100644 --- a/cmd/cheqd-noded/cmd/utils.go +++ b/cmd/cheqd-noded/cmd/utils.go @@ -38,9 +38,7 @@ func readCosmConfig(homeDir string) (cosmcfg.Config, error) { return cosmcfg.Config{}, fmt.Errorf("failed to read in app.toml: %w", err) } - config, _ := cosmcfg.GetConfig(v) - - return config, nil + return cosmcfg.GetConfig(v) } func writeCosmConfig(homeDir string, config *cosmcfg.Config) {