mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
core/filtermaps: fixed tail indexer finished log message
This commit is contained in:
parent
25b51f2940
commit
9031f90af5
1 changed files with 2 additions and 2 deletions
|
|
@ -234,7 +234,7 @@ func (f *FilterMaps) tryIndexTail() bool {
|
||||||
for {
|
for {
|
||||||
firstEpoch := f.indexedRange.firstRenderedMap >> f.logMapsPerEpoch
|
firstEpoch := f.indexedRange.firstRenderedMap >> f.logMapsPerEpoch
|
||||||
if firstEpoch == 0 || !f.needTailEpoch(firstEpoch-1) {
|
if firstEpoch == 0 || !f.needTailEpoch(firstEpoch-1) {
|
||||||
return true
|
break
|
||||||
}
|
}
|
||||||
f.processEvents()
|
f.processEvents()
|
||||||
if f.stop || !f.targetHeadIndexed() {
|
if f.stop || !f.targetHeadIndexed() {
|
||||||
|
|
@ -255,7 +255,7 @@ func (f *FilterMaps) tryIndexTail() bool {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if tailRenderer == nil {
|
if tailRenderer == nil {
|
||||||
return true
|
break
|
||||||
}
|
}
|
||||||
if !f.startedTailIndex {
|
if !f.startedTailIndex {
|
||||||
f.lastLogTailIndex = time.Now()
|
f.lastLogTailIndex = time.Now()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue