Skip to content

Commit

Permalink
chore(lint): remove unused params
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Mar 1, 2024
1 parent 950d4f2 commit f159252
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions x/restaking_assets_manage/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func QueAllClientChainInfo() *cobra.Command {
Short: "Get all client chain info",
Long: "Get all client chain info",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down Expand Up @@ -138,7 +138,7 @@ func QueAllStakingAssetsInfo() *cobra.Command {
Short: "Get all staking asset info",
Long: "Get all staking asset info",
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion x/reward/client/cli/query_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func CmdQueryParams() *cobra.Command {
Use: "params",
Short: "shows the parameters of the module",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion x/slash/client/cli/query_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func CmdQueryParams() *cobra.Command {
Use: "params",
Short: "shows the parameters of the module",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion x/withdraw/client/cli/query_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func CmdQueryParams() *cobra.Command {
Use: "params",
Short: "shows the parameters of the module",
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(cmd *cobra.Command, _ []string) error {
clientCtx, err := client.GetClientQueryContext(cmd)
if err != nil {
return err
Expand Down

0 comments on commit f159252

Please sign in to comment.