From 72c8473ffb9473fc0a2ff011bb963842ef4bd031 Mon Sep 17 00:00:00 2001 From: cola tin Date: Sat, 20 May 2017 21:22:07 +0800 Subject: [PATCH] fix: broken mipmap bloom --- 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 0a0b81224e..aa66eae42e 100644 --- a/eth/filters/filter.go +++ b/eth/filters/filter.go @@ -141,7 +141,7 @@ func (f *Filter) mipFind(start, end uint64, depth int) (logs []*types.Log, block // up where a previous run left off. first := true for _, addr := range f.addresses { - if first || bloom.TestBytes(addr[:]) { + if first && bloom.TestBytes(addr[:]) { first = false // range check normalised values and make sure that // we're resolving the correct range instead of the