Skip to content

Commit

Permalink
fix: tiny bug in NewSubmitConsumerDoubleVotingCmd (#1247)
Browse files Browse the repository at this point in the history
* fix double voting cli

* fix bug double signing handler

* godoc

* nits

* revert wrong push of lasts commits
  • Loading branch information
sainoe committed Aug 31, 2023
1 parent f168b9b commit f12a5c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/ccv/provider/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Examples:

func NewSubmitConsumerDoubleVotingCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "submit consumer-double-voting [evidence] [infraction_header]",
Use: "submit-consumer-double-voting [evidence] [infraction_header]",
Short: "submit a double voting evidence for a consumer chain",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
Expand All @@ -176,7 +176,7 @@ func NewSubmitConsumerDoubleVotingCmd() *cobra.Command {
return err
}

msg, err := types.NewMsgSubmitConsumerDoubleVoting(submitter, ev, nil)
msg, err := types.NewMsgSubmitConsumerDoubleVoting(submitter, ev, &header)
if err != nil {
return err
}
Expand Down

0 comments on commit f12a5c0

Please sign in to comment.