Update filter.go

This commit is contained in:
Tomás Andróil 2025-07-31 16:03:12 +02:00 committed by GitHub
parent 1bed947cdc
commit 2b8ea4da35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -456,7 +456,6 @@ func (f *Filter) blockLogs(ctx context.Context, header *types.Header) ([]*types.
// checkMatches checks if the receipts belonging to the given header contain any log events that
// match the filter criteria. This function is called when the bloom filter signals a potential match.
// skipFilter signals all logs of the given block are requested.
func (f *Filter) checkMatches(ctx context.Context, header *types.Header) ([]*types.Log, error) {
hash := header.Hash()
// Logs in cache are partially filled with context data