diff --git a/core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/buffer_v1.go b/core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/buffer_v1.go index bd7d2b66570..7f9e64f2b0a 100644 --- a/core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/buffer_v1.go +++ b/core/services/ocr2/plugins/ocr2keeper/evmregistry/v21/logprovider/buffer_v1.go @@ -220,7 +220,7 @@ func (ub *upkeepLogBuffer) dequeue(start, end int64, limit int) ([]logpoller.Log var results []logpoller.Log var remaining int - updatedLogs := make([]logpoller.Log, 0, ub.maxLogs.Load()) + updatedLogs := make([]logpoller.Log, 0) for _, l := range ub.q { if l.BlockNumber >= start && l.BlockNumber <= end { if len(results) < limit {