mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
Update filter.go
This commit is contained in:
parent
1bed947cdc
commit
2b8ea4da35
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
// 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.
|
// 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) {
|
func (f *Filter) checkMatches(ctx context.Context, header *types.Header) ([]*types.Log, error) {
|
||||||
hash := header.Hash()
|
hash := header.Hash()
|
||||||
// Logs in cache are partially filled with context data
|
// Logs in cache are partially filled with context data
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue