Skip to content

Commit 6119d4f

Browse files
eval-execjagdeep sidhu
authored andcommitted
eth/filters: remove explicit continue label in filterLogs (ethereum#24795)
The loop label can be removed because this 'continue' statement is not in a nested loop.
1 parent 6058a52 commit 6119d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/filters/filter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Logs:
299299
}
300300
// If the to filtered topics is greater than the amount of topics in logs, skip.
301301
if len(topics) > len(log.Topics) {
302-
continue Logs
302+
continue
303303
}
304304
for i, sub := range topics {
305305
match := len(sub) == 0 // empty rule set == wildcard

0 commit comments

Comments
 (0)