Skip to content

Commit

Permalink
fix: Error handling (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
askolesov committed Oct 26, 2022
2 parents 46c569a + 890a7c1 commit 9a438fd
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 9a438fd

Please sign in to comment.