eth/filters: remove explicit continue label in filterLogs (#24795)

The loop label can be removed because this 'continue' statement
is not in a nested loop.
This commit is contained in:
EXEC 2022-05-05 23:58:43 +08:00 committed by GitHub
parent 1c90d97c1e
commit 256aae0bfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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