mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Update database.go
This commit is contained in:
parent
f0e8a3e9c8
commit
4d1c7d54f5
1 changed files with 2 additions and 2 deletions
|
|
@ -471,8 +471,8 @@ func (db *Database) Recoverable(root common.Hash) bool {
|
||||||
if id == nil {
|
if id == nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// Recoverable state must below the disk layer. The recoverable
|
// Recoverable state must be below the disk layer. The recoverable
|
||||||
// state only refers the state that is currently not available,
|
// state only refers to the state that is currently not available,
|
||||||
// but can be restored by applying state history.
|
// but can be restored by applying state history.
|
||||||
dl := db.tree.bottom()
|
dl := db.tree.bottom()
|
||||||
if *id >= dl.stateID() {
|
if *id >= dl.stateID() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue