Skip to content

Commit

Permalink
lint: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Teja2045 committed Sep 19, 2024
1 parent 6d671b4 commit 5ae06ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion keeper/vote_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (h *VoteExtHandler) ExtendVoteHandler() sdk.ExtendVoteHandler {
return abciResponseVoteExt, nil
}

ok, err := h.Keeper.relayer.IsDataAvailable(ctx, from, end, availHeight, h.Keeper.relayer.AvailConfig.LightClientURL) // TODO: read light client url from config
ok, err := h.Keeper.relayer.IsDataAvailable(ctx, from, end, availHeight) // TODO: read light client url from config
if ok {
h.logger.Info("submitted data to Avail verified successfully at",
"block_height", availHeight,
Expand Down
2 changes: 1 addition & 1 deletion relayer/submit_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (r *Relayer) SubmitDataToAvailClient(data []byte, blocks []int64) (avail.Bl
}

// IsDataAvailable is to query the avail light client and check if the data is made available at the given height
func (r *Relayer) IsDataAvailable(ctx sdk.Context, from, to, availHeight uint64, lightClientURL string) (bool, error) {
func (r *Relayer) IsDataAvailable(ctx sdk.Context, from, to, availHeight uint64) (bool, error) {

var blocks []int64
for i := from; i <= to; i++ {
Expand Down

0 comments on commit 5ae06ae

Please sign in to comment.