Skip to content

Commit

Permalink
fix lint messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Jun 21, 2024
1 parent 635e110 commit cf6696e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/zetaclientd/gen_pre_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var GenPrePramsCmd = &cobra.Command{
Use: "gen-pre-params <path>",
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 {
Expand Down
4 changes: 2 additions & 2 deletions x/observer/client/cli/query_tss_fund_migrator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cf6696e

Please sign in to comment.