Skip to content

Commit

Permalink
Problem: unbatched send to ethereum does not uses ExactArgs (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nguy authored Oct 7, 2022
1 parent a52779a commit 60d3c64
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 60d3c64

Please sign in to comment.