Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
reductionista committed Aug 21, 2024
1 parent f5227f1 commit db26cb1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/chains/evm/logpoller/orm.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,6 @@ func logsQueryWithConfs(clause string, confs evmtypes.Confirmations) string {
return withConfs(logsQuery(clause), confs)
}

func withLimit(clause string, limit int) string {
if limit == 0 {
return clause
}
return fmt.Sprintf("%s LIMIT %d", clause, limit)
}

func (o *DSORM) SelectBlockByHash(ctx context.Context, hash common.Hash) (*LogPollerBlock, error) {
var b LogPollerBlock
if err := o.ds.GetContext(ctx, &b,
Expand Down

0 comments on commit db26cb1

Please sign in to comment.