diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-11-15 19:54:40 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-11-15 20:10:35 +0800 |
commit | 463014126f11a20c5e40f912a6f7415a0bbc910b (patch) | |
tree | b82a5dafbedcf176beb8b95fcafd22c813d2d2d1 /eth | |
parent | bce5d837b5893daf81a3a5b73fc7a5b4a18f9c99 (diff) | |
download | dexon-463014126f11a20c5e40f912a6f7415a0bbc910b.tar.gz dexon-463014126f11a20c5e40f912a6f7415a0bbc910b.tar.zst dexon-463014126f11a20c5e40f912a6f7415a0bbc910b.zip |
core/bloombits: handle non 8-bit boundary section matches
Diffstat (limited to 'eth')
-rw-r--r-- | eth/filters/filter.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eth/filters/filter.go b/eth/filters/filter.go index e208f8f38..43d7e2a81 100644 --- a/eth/filters/filter.go +++ b/eth/filters/filter.go @@ -158,6 +158,7 @@ func (f *Filter) indexedLogs(ctx context.Context, end uint64) ([]*types.Log, err return logs, err } f.begin = int64(number) + 1 + // Retrieve the suggested block and pull any truly matching logs header, err := f.backend.HeaderByNumber(ctx, rpc.BlockNumber(number)) if header == nil || err != nil { |