Skip to content

Commit

Permalink
eth/filters: remove explicit continue label in filterLogs (#24795)
Browse files Browse the repository at this point in the history
The loop label can be removed because this 'continue' statement
is not in a nested loop.
  • Loading branch information
eval-exec authored May 5, 2022
1 parent 1c90d97 commit 256aae0
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 256aae0

Please sign in to comment.