Skip to content

Commit

Permalink
fix cli of operator
Browse files Browse the repository at this point in the history
  • Loading branch information
trestinlsd committed Jan 7, 2025
1 parent 7d5114d commit 8a8fbda
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/operator/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,10 @@ func CmdRegisterOperator() *cobra.Command {
)
f.AddFlagSet(stakingcli.FlagSetCommissionCreate())

// transaction level flags from the SDK
flags.AddTxFlagsToCmd(cmd)

// required flags
_ = cmd.MarkFlagRequired(FlagMetaInfo) // name of the operator

// transaction level flags from the SDK
flags.AddTxFlagsToCmd(cmd)
return cmd
}
Expand Down

0 comments on commit 8a8fbda

Please sign in to comment.