From cf6696eb451ad3f6d1e4695652ae925a69b3fe10 Mon Sep 17 00:00:00 2001 From: Tanmay Date: Fri, 21 Jun 2024 17:36:57 -0400 Subject: [PATCH] fix lint messages --- cmd/zetaclientd/gen_pre_params.go | 2 +- x/observer/client/cli/query_tss_fund_migrator.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)