Skip to content

Commit

Permalink
Merge branch 'joon/ics-02-implementation' into joon/ics-03-implementa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
mossid committed Sep 18, 2019
2 parents 3ba9f9c + de1a045 commit 2ef039a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x/ibc/02-client/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ func GetCmdQueryClient(storeKey string, cdc *codec.Codec) *cobra.Command {
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
ctx := context.NewCLIContext().WithCodec(cdc)
q := state.NewCLIQuerier(ctx)
mapp := mapping(cdc, storeKey, ibc.Version)
man := client.NewManager(mapp)
id := args[0]

state, _, err := man.Object(id).ConsensusStateCLI(ctx)
state, _, err := man.Object(id).ConsensusStateCLI(q)
if err != nil {
return err
}
Expand Down

0 comments on commit 2ef039a

Please sign in to comment.