diff --git a/eth/filters/filter.go b/eth/filters/filter.go
index 67b4612ae49bc86e6f5e4def55b228cb247187cb..7000d74fa464d5174b9604e3f5a5dd449c5a5a18 100644
--- a/eth/filters/filter.go
+++ b/eth/filters/filter.go
@@ -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