Skip to content

Commit

Permalink
Merge pull request #466 from PeggyJV/collin/unbatched-send-to-ethereu…
Browse files Browse the repository at this point in the history
…m-cli-bug

Use ExactArgs for unbatched-send-to-ethereums cli command
  • Loading branch information
EricBolten authored Mar 23, 2023
2 parents 9b457ae + 273e373 commit 87b97f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/x/gravity/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ func CmdDenomToERC20() *cobra.Command {
func CmdUnbatchedSendToEthereums() *cobra.Command {
cmd := &cobra.Command{
Use: "unbatched-send-to-ethereums [sender-address]",
Args: cobra.MaximumNArgs(1),
Args: cobra.ExactArgs(1),
Short: "query all unbatched send to ethereum messages",
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx, queryClient, err := newContextAndQueryClient(cmd)
Expand Down

0 comments on commit 87b97f1

Please sign in to comment.