diff --git a/core/filtermaps/matcher.go b/core/filtermaps/matcher.go index 79ee5c7d33..6c05672cbc 100644 --- a/core/filtermaps/matcher.go +++ b/core/filtermaps/matcher.go @@ -176,7 +176,7 @@ func (m *matcherEnv) process() ([]*types.Log, error) { wg.Done() } - for i := 0; i < 4; i++ { + for range 4 { wg.Add(1) go worker() }