mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 22:26:42 +00:00
Revert "triedb: reset state indexer to 0"
This reverts commit 200aa9453b.
Signed-off-by: Delweng <delweng@gmail.com>
This commit is contained in:
parent
200aa9453b
commit
6bc13d8004
1 changed files with 0 additions and 2 deletions
|
|
@ -512,8 +512,6 @@ func (db *Database) Enable(root common.Hash) error {
|
|||
if err := db.freezer.Reset(); err != nil {
|
||||
return err
|
||||
}
|
||||
// Reset the state history indexer
|
||||
storeIndexMetadata(db.diskdb, 0)
|
||||
}
|
||||
// Re-enable the database as the final step.
|
||||
db.waitSync = false
|
||||
|
|
|
|||
Loading…
Reference in a new issue