mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 04:56:36 +00:00
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:
parent
1c90d97c1e
commit
256aae0bfa
1 changed files with 1 additions and 1 deletions
|
|
@ -299,7 +299,7 @@ Logs:
|
||||||
}
|
}
|
||||||
// If the to filtered topics is greater than the amount of topics in logs, skip.
|
// If the to filtered topics is greater than the amount of topics in logs, skip.
|
||||||
if len(topics) > len(log.Topics) {
|
if len(topics) > len(log.Topics) {
|
||||||
continue Logs
|
continue
|
||||||
}
|
}
|
||||||
for i, sub := range topics {
|
for i, sub := range topics {
|
||||||
match := len(sub) == 0 // empty rule set == wildcard
|
match := len(sub) == 0 // empty rule set == wildcard
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue