mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 04:06:44 +00:00
triedb/pathdb: fix
This commit is contained in:
parent
6d0f68cb9a
commit
3abbfdec60
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ func repairHistory(db ethdb.Database, isVerkle bool, readOnly bool, stateID uint
|
||||||
if store == nil {
|
if store == nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
pruned, err := truncateFromHead(store, typ, head)
|
pruned, err := truncateFromHead(store, typ, nhead)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Crit("Failed to truncate extra histories", "typ", typ, "err", err)
|
log.Crit("Failed to truncate extra histories", "typ", typ, "err", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue