From b1f7269a83cffeba32296e3d30d4c4e69f6535cc Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 2 Aug 2023 13:39:51 -0500 Subject: [PATCH] No limit --- pkg/eth/retriever.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/eth/retriever.go b/pkg/eth/retriever.go index e2beacb2..790c996f 100644 --- a/pkg/eth/retriever.go +++ b/pkg/eth/retriever.go @@ -266,9 +266,6 @@ func (r *Retriever) retrieveFilteredLogs(db *sqlx.DB, rctFilter ReceiptFilter, s pgStr, args = logFilterCondition(&id, pgStr, args, rctFilter) pgStr += ` ORDER BY eth.log_cids.block_number, eth.log_cids.index` - if blockHash != nil { - pgStr += ` LIMIT 1` - } logs := make([]LogResult, 0) err := db.Select(&logs, pgStr, args...)