core/rawdb: skip pathdb state inspection in hashdb mode (#28108)

pull/28113/head
Péter Szilágyi 1 year ago committed by GitHub
parent 43df612268
commit 8d38b1fe62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      core/rawdb/ancient_utils.go

@ -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

Loading…
Cancel
Save