Revert "triedb/pathdb: update metadata"

This reverts commit 7184b37b5b.

Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
jsvisa 2025-08-04 15:27:30 +08:00
parent 1a340075ef
commit 7d9e189c66

View file

@ -507,8 +507,6 @@ func (i *indexIniter) index(done chan struct{}, interrupt *atomic.Int32, lastID
storeIndexMetadata(i.disk, 0) storeIndexMetadata(i.disk, 0)
log.Info("Initialized history indexing flag") log.Info("Initialized history indexing flag")
} else { } 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) log.Debug("State history is fully indexed", "last", lastID)
} }
return return