mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
misspell
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
d5585fe579
commit
d5d7d36e00
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ func (db *Database) repairHistory() error {
|
||||||
log.Warn("Truncated extra state histories", "number", pruned)
|
log.Warn("Truncated extra state histories", "number", pruned)
|
||||||
if meta := loadIndexMetadata(db.diskdb); meta != nil {
|
if meta := loadIndexMetadata(db.diskdb); meta != nil {
|
||||||
// Reset the state history index metadata to current state id
|
// Reset the state history index metadata to current state id
|
||||||
// if it's out of boundry.
|
// if it's out of boundary.
|
||||||
if old := meta.Last; old > id {
|
if old := meta.Last; old > id {
|
||||||
log.Warn("Reset state history index metadata after truncation", "oldID", old, "newID", id)
|
log.Warn("Reset state history index metadata after truncation", "oldID", old, "newID", id)
|
||||||
storeIndexMetadata(db.diskdb, id)
|
storeIndexMetadata(db.diskdb, id)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue