mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
core/filtermaps: removed unused function
This commit is contained in:
parent
08a345e602
commit
78b5918fdd
1 changed files with 0 additions and 5 deletions
|
|
@ -757,11 +757,6 @@ func (f *FilterMaps) applyUpdateBatch(u *updateBatch) {
|
|||
}
|
||||
}
|
||||
|
||||
// updatedRangeLength returns the length of the updated filter map range.
|
||||
func (u *updateBatch) updatedRangeLength() uint32 {
|
||||
return u.afterLastMap - u.firstMap
|
||||
}
|
||||
|
||||
// headEpoch returns the head epoch index.
|
||||
func (u *updateBatch) headEpoch() uint32 {
|
||||
return uint32(u.headLvPointer >> (u.f.logValuesPerMap + u.f.logMapsPerEpoch))
|
||||
|
|
|
|||
Loading…
Reference in a new issue