diff --git a/x/restaking_assets_manage/client/cli/query.go b/x/restaking_assets_manage/client/cli/query.go index 14910b7df..cce124677 100644 --- a/x/restaking_assets_manage/client/cli/query.go +++ b/x/restaking_assets_manage/client/cli/query.go @@ -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 @@ -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 diff --git a/x/reward/client/cli/query_params.go b/x/reward/client/cli/query_params.go index c660a95eb..3ff8296a5 100644 --- a/x/reward/client/cli/query_params.go +++ b/x/reward/client/cli/query_params.go @@ -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 diff --git a/x/slash/client/cli/query_params.go b/x/slash/client/cli/query_params.go index de5afc25d..82182a6e9 100644 --- a/x/slash/client/cli/query_params.go +++ b/x/slash/client/cli/query_params.go @@ -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 diff --git a/x/withdraw/client/cli/query_params.go b/x/withdraw/client/cli/query_params.go index c60b32bfe..0c9ac046c 100644 --- a/x/withdraw/client/cli/query_params.go +++ b/x/withdraw/client/cli/query_params.go @@ -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