mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +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 {
|
if err := db.freezer.Reset(); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// Reset the state history indexer
|
|
||||||
storeIndexMetadata(db.diskdb, 0)
|
|
||||||
}
|
}
|
||||||
// Re-enable the database as the final step.
|
// Re-enable the database as the final step.
|
||||||
db.waitSync = false
|
db.waitSync = false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue