Skip to content

Commit

Permalink
fix: CLI query params print result
Browse files Browse the repository at this point in the history
  • Loading branch information
zakir committed Jul 16, 2022
1 parent 62ff341 commit 5fed601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/evm/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func GetParamsCmd() *cobra.Command {
return err
}

return clientCtx.PrintProto(res)
return clientCtx.PrintProto(&res.Params)
},
}

Expand Down
2 changes: 1 addition & 1 deletion x/feemarket/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func GetParamsCmd() *cobra.Command {
return err
}

return clientCtx.PrintProto(res)
return clientCtx.PrintProto(&res.Params)
},
}

Expand Down

0 comments on commit 5fed601

Please sign in to comment.