mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-22 15:59:26 +00:00
core/rawdb: skip pathdb state inspection in hashdb mode (#28108)
This commit is contained in:
parent
43df612268
commit
8d38b1fe62
1 changed files with 3 additions and 0 deletions
|
|
@ -88,6 +88,9 @@ func inspectFreezers(db ethdb.Database) ([]freezerInfo, error) {
|
||||||
infos = append(infos, info)
|
infos = append(infos, info)
|
||||||
|
|
||||||
case stateFreezerName:
|
case stateFreezerName:
|
||||||
|
if ReadStateScheme(db) != PathScheme {
|
||||||
|
continue
|
||||||
|
}
|
||||||
datadir, err := db.AncientDatadir()
|
datadir, err := db.AncientDatadir()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue