Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
docs: add godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Nov 26, 2023
1 parent ed8c791 commit ee153cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/blobstream/query/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,10 @@ func getSignatureAndPrintIt(
return nil
}

// tryToGetExistingConfig tries to get the query config from existing
// orchestrator/relayer homes. It first checks whether the `--home` flag was
// changed. If so, it gets the config from there. If not, then it tries the
// orchestrator default home directory, then the relayer default home directory.
func tryToGetExistingConfig(cmd *cobra.Command, logger tmlog.Logger) (Config, error) {
v := viper.New()
v.SetEnvPrefix("")
Expand Down

0 comments on commit ee153cd

Please sign in to comment.