mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
core/filtermaps: do not disable indexer on chain reorg while rendering error
This commit is contained in:
parent
80632aa17d
commit
68e31d58b2
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ func (f *FilterMaps) indexerLoop() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !f.targetHeadIndexed() {
|
if !f.targetHeadIndexed() {
|
||||||
if err := f.tryIndexHead(); err != nil {
|
if err := f.tryIndexHead(); err != nil && err != errChainUpdate {
|
||||||
f.disableForError("head rendering", err)
|
f.disableForError("head rendering", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue