mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
triedb/pathdb: update metadata
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
8315b60fd1
commit
7184b37b5b
1 changed files with 2 additions and 0 deletions
|
|
@ -507,6 +507,8 @@ func (i *indexIniter) index(done chan struct{}, interrupt *atomic.Int32, lastID
|
|||
storeIndexMetadata(i.disk, 0)
|
||||
log.Info("Initialized history indexing flag")
|
||||
} else {
|
||||
// Update the metadata to indicate that indexing is complete up to lastID
|
||||
storeIndexMetadata(i.disk, lastID)
|
||||
log.Debug("State history is fully indexed", "last", lastID)
|
||||
}
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue