Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Fix queries with height param at bcna module
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulBernal authored Feb 15, 2023
1 parent 0777ad8 commit f0ba092
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x/bcna/client/cli/query_bitcannaid.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ func CmdListBitcannaid() *cobra.Command {
cmd := &cobra.Command{
Use: "list-bitcannaid",
Short: "list all bitcannaid",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx := client.GetClientContextFromCmd(cmd)
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
}

pageReq, err := client.ReadPageRequest(cmd.Flags())
if err != nil {
Expand Down

0 comments on commit f0ba092

Please sign in to comment.