From efb155f873948bf37afde0148be562078832a73c Mon Sep 17 00:00:00 2001 From: Domino Valdano <2644901+reductionista@users.noreply.github.com> Date: Wed, 21 Aug 2024 08:52:54 -0700 Subject: [PATCH] Remove unused function --- core/chains/evm/logpoller/orm.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/chains/evm/logpoller/orm.go b/core/chains/evm/logpoller/orm.go index 5305582b97..61e0022bb5 100644 --- a/core/chains/evm/logpoller/orm.go +++ b/core/chains/evm/logpoller/orm.go @@ -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,