From 256aae0bfa9fee14a55347f40714e04062d6be5b Mon Sep 17 00:00:00 2001 From: EXEC Date: Thu, 5 May 2022 23:58:43 +0800 Subject: [PATCH] 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. --- eth/filters/filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/filters/filter.go b/eth/filters/filter.go index 17635837a..f64e84abb 100644 --- a/eth/filters/filter.go +++ b/eth/filters/filter.go @@ -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