Skip to content

Commit

Permalink
lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Jan 21, 2024
1 parent d0a3c82 commit 36466f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x/observer/client/cli/query_get_tss_address.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ func CmdGetTssAddress() *cobra.Command {
queryClient := types.NewQueryClient(clientCtx)
params := &types.QueryGetTssAddressRequest{}
if len(args) == 1 {
bitcoinChainId, err := strconv.ParseInt(args[0], 10, 64)
bitcoinChainID, err := strconv.ParseInt(args[0], 10, 64)
if err != nil {
return err
}
params.BitcoinChainId = bitcoinChainId
params.BitcoinChainId = bitcoinChainID
}

res, err := queryClient.GetTssAddress(cmd.Context(), params)
Expand Down Expand Up @@ -65,11 +65,11 @@ func CmdGetTssAddressByFinalizedZetaHeight() *cobra.Command {
FinalizedZetaHeight: finalizedZetaHeight,
}
if len(args) == 2 {
bitcoinChainId, err := strconv.ParseInt(args[1], 10, 64)
bitcoinChainID, err := strconv.ParseInt(args[1], 10, 64)
if err != nil {
return err
}
params.BitcoinChainId = bitcoinChainId
params.BitcoinChainId = bitcoinChainID
}

res, err := queryClient.GetTssAddressByFinalizedHeight(cmd.Context(), params)
Expand Down

0 comments on commit 36466f7

Please sign in to comment.