Skip to content

Commit

Permalink
test: fix pathdb unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
VM committed Sep 12, 2024
1 parent 7a7a139 commit 61faf4d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions triedb/pathdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ func New(diskdb ethdb.Database, config *Config) *Database {
// Open the freezer for state history if the passed database contains an
// ancient store. Otherwise, all the relevant functionalities are disabled.
if ancient, err := diskdb.AncientDatadir(); err == nil && ancient != "" && !db.readOnly {
// fmt.Println("je238e8238", db.useBase)
// fmt.Println("2132132", ancient)
// db.useBase = !common.FileExist(filepath.Join(ancient, rawdb.StateFreezerName))
// fmt.Println("uuuu", db.useBase)
db.fastRecovery = checkAncientAndNodeBuffer(ancient, config.TrieNodeBufferType)
freezer, err := rawdb.NewStateFreezer(ancient, false, db.fastRecovery)
if err != nil {
Expand Down

0 comments on commit 61faf4d

Please sign in to comment.