mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
triedb/pathdb: add todo
This commit is contained in:
parent
38cd21ac89
commit
d366e34271
1 changed files with 4 additions and 0 deletions
|
|
@ -391,6 +391,10 @@ func (db *Database) Recoverable(dest common.Hash) bool {
|
|||
if *id >= dl.stateID() {
|
||||
return false
|
||||
}
|
||||
// This is a temporary workaround for the unavailability of the freezer in
|
||||
// dev mode. As a consequence, the Pathdb loses the ability for deep reorg
|
||||
// in certain cases.
|
||||
// TODO(rjl493456442): Implement the in-memory ancient store.
|
||||
if db.freezer == nil {
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue