Skip to content

Commit

Permalink
Merge pull request #14
Browse files Browse the repository at this point in the history
Release v0.1.9
  • Loading branch information
bsrinivas8687 authored Jul 14, 2021
2 parents 1301d31 + 4bd6fb2 commit c750785
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions x/subscription/client/cmd/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,10 @@ func txUpdateQuota() *cobra.Command {

func txCancel() *cobra.Command {
cmd := &cobra.Command{
Use: "cancel [id]",
Short: "Cancel a subscription",
Args: cobra.ExactArgs(1),
Use: "cancel [id]",
Short: "Cancel a subscription",
Args: cobra.ExactArgs(1),
Hidden: true,
RunE: func(cmd *cobra.Command, args []string) error {
ctx, err := client.GetClientTxContext(cmd)
if err != nil {
Expand All @@ -217,7 +218,7 @@ func txCancel() *cobra.Command {
return err
}

return tx.GenerateOrBroadcastTxCLI(ctx, cmd.Flags(), msg)
return nil
},
}

Expand Down

0 comments on commit c750785

Please sign in to comment.