diff options
Diffstat (limited to 'eth/bloombits.go')
-rw-r--r-- | eth/bloombits.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/bloombits.go b/eth/bloombits.go index 02de408b0..32f6c7b31 100644 --- a/eth/bloombits.go +++ b/eth/bloombits.go @@ -122,7 +122,7 @@ func (b *BloomIndexer) Reset(section uint64) { // Process implements core.ChainIndexerBackend, adding a new header's bloom into // the index. func (b *BloomIndexer) Process(header *types.Header) { - b.gen.AddBloom(header.Bloom) + b.gen.AddBloom(uint(header.Number.Uint64()-b.section*b.size), header.Bloom) b.head = header.Hash() } |