Skip to content

Commit

Permalink
core/rawdb: skip pathdb state inspection in hashdb mode (#28108)
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe authored Sep 13, 2023
1 parent 43df612 commit 8d38b1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/rawdb/ancient_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ func inspectFreezers(db ethdb.Database) ([]freezerInfo, error) {
infos = append(infos, info)

case stateFreezerName:
if ReadStateScheme(db) != PathScheme {
continue
}
datadir, err := db.AncientDatadir()
if err != nil {
return nil, err
Expand Down

0 comments on commit 8d38b1f

Please sign in to comment.