Skip to content

Commit

Permalink
eth/filters: fix filterLogs
Browse files Browse the repository at this point in the history
  • Loading branch information
eval-exec committed Apr 30, 2022
1 parent f94e23c commit a3d4c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/filters/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Logs:
}
// If the to filtered topics is greater than the amount of topics in logs, skip.
if len(topics) > len(log.Topics) {
continue Logs
continue
}
for i, sub := range topics {
match := len(sub) == 0 // empty rule set == wildcard
Expand Down

0 comments on commit a3d4c0e

Please sign in to comment.