Skip to content

Commit

Permalink
No limit
Browse files Browse the repository at this point in the history
  • Loading branch information
telackey committed Aug 2, 2023
1 parent eb95d5e commit b1f7269
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/eth/retriever.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down

0 comments on commit b1f7269

Please sign in to comment.