Skip to content

Commit

Permalink
revert query fix covered by another PR
Browse files Browse the repository at this point in the history
  • Loading branch information
bermuell committed Aug 29, 2024
1 parent fe669be commit 68086ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ccv/provider/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ func CmdConsumerChains() *cobra.Command {

req := &types.QueryConsumerChainsRequest{}

if len(args) > 0 && args[0] != "" {
if args[0] != "" {
phase, err := strconv.ParseInt(args[0], 10, 32)
if err != nil {
return err
}
req.Phase = types.ConsumerPhase(phase)
}

if len(args) > 1 && args[1] != "" {
if args[1] != "" {
limit, err := strconv.ParseInt(args[1], 10, 32)
if err != nil {
return err
Expand Down

0 comments on commit 68086ba

Please sign in to comment.