Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberbono3 committed Apr 13, 2021
1 parent c953f78 commit 01fab9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func initClientContext(t *testing.T, envVar string) (client.Context, func()) {

clientCtx.Viper.BindEnv(nodeEnv)
if envVar != "" {
os.Setenv(nodeEnv, testNode1)
os.Setenv(nodeEnv, envVar)
}

clientCtx, err := config.ReadFromClientConfig(clientCtx)
Expand Down
4 changes: 2 additions & 2 deletions simapp/simd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func queryCommand() *cobra.Command {
Short: "Querying subcommands",
DisableFlagParsing: true,
SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd,
RunE: client.ValidateCmd,
}

cmd.AddCommand(
Expand All @@ -136,7 +136,7 @@ func txCommand() *cobra.Command {
Short: "Transactions subcommands",
DisableFlagParsing: true,
SuggestionsMinimumDistance: 2,
RunE: client.ValidateCmd,
RunE: client.ValidateCmd,
}

cmd.AddCommand(
Expand Down

0 comments on commit 01fab9b

Please sign in to comment.