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 unclezoro committed Sep 21, 2022
1 parent bd22292 commit 0981812
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 @@ -308,7 +308,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 0981812

Please sign in to comment.