Skip to content

Commit

Permalink
eth/filters: remove explicit continue label in filterLogs (ethereum#2…
Browse files Browse the repository at this point in the history
…4795)

The loop label can be removed because this 'continue' statement
is not in a nested loop.
  • Loading branch information
eval-exec authored and cp-wjhan committed Nov 30, 2022
1 parent f19387a commit 8b4dadf
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 8b4dadf

Please sign in to comment.