good morning!!!!

Skip to content
Snippets Groups Projects
Commit e75d0a6e authored by knarfeh's avatar knarfeh Committed by Péter Szilágyi
Browse files

eth/filters: make filterLogs func more readable (#16920)

parent 947e0afe
No related branches found
No related tags found
No related merge requests found
......@@ -258,9 +258,9 @@ Logs:
if len(topics) > len(log.Topics) {
continue Logs
}
for i, topics := range topics {
match := len(topics) == 0 // empty rule set == wildcard
for _, topic := range topics {
for i, sub := range topics {
match := len(sub) == 0 // empty rule set == wildcard
for _, topic := range sub {
if log.Topics[i] == topic {
match = true
break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment