Skip to content

Commit

Permalink
fix: Error handling (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
askolesov authored and ankurdotb committed Dec 20, 2022
1 parent 475a823 commit 73a8d89
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/cheqd-noded/cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 73a8d89

Please sign in to comment.