core/bloombits: AddBloom index parameter and fixes variable names
This commit is contained in:
committed by
Péter Szilágyi
parent
f585f9eee8
commit
6ff2c02991
@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user