diff --git a/cmd/zetaclientd/gen_pre_params.go b/cmd/zetaclientd/gen_pre_params.go index c797a9f206..7837867b74 100644 --- a/cmd/zetaclientd/gen_pre_params.go +++ b/cmd/zetaclientd/gen_pre_params.go @@ -18,7 +18,7 @@ var GenPrePramsCmd = &cobra.Command{ Use: "gen-pre-params ", Short: "Generate pre parameters for TSS", Args: cobra.ExactArgs(1), - RunE: func(cmd *cobra.Command, args []string) error { + RunE: func(_ *cobra.Command, args []string) error { startTime := time.Now() preParams, err := keygen.GeneratePreParams(time.Second * 300) if err != nil { diff --git a/x/observer/client/cli/query_tss_fund_migrator.go b/x/observer/client/cli/query_tss_fund_migrator.go index c4072d9560..a5483fde51 100644 --- a/x/observer/client/cli/query_tss_fund_migrator.go +++ b/x/observer/client/cli/query_tss_fund_migrator.go @@ -20,12 +20,12 @@ func CmdGetTssFundsMigrator() *cobra.Command { queryClient := types.NewQueryClient(clientCtx) - chainId, err := strconv.ParseInt(args[0], 10, 64) + chainID, err := strconv.ParseInt(args[0], 10, 64) if err != nil { return err } params := &types.QueryTssFundsMigratorInfoRequest{ - ChainId: chainId, + ChainId: chainID, } res, err := queryClient.TssFundsMigratorInfo(context.Background(), params)