Skip to content

Commit

Permalink
fix: update logs
Browse files Browse the repository at this point in the history
  • Loading branch information
VM committed May 28, 2024
1 parent 78e6b5d commit 17e2212
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/rawdb/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,9 +320,6 @@ func NewDatabase(db ethdb.KeyValueStore) ethdb.Database {

type emptyfreezedb struct {
ethdb.KeyValueStore
diffStore ethdb.KeyValueStore
stateStore ethdb.Database
blockStore ethdb.Database
}

// HasAncient returns nil for pruned db that we don't have a backing chain freezer.
Expand Down Expand Up @@ -475,7 +472,7 @@ func NewDatabaseWithFreezer(db ethdb.KeyValueStore, ancient string, namespace st

// This case is used for someone who wants to execute geth db inspect CLI in a pruned db
if !disableFreeze && readonly && ReadAncientType(db) == PruneFreezerType {
log.Warn("Disk db is pruned, return an empty freezer db which is used for CLI")
log.Warn("Disk db is pruned, using an empty freezer db for CLI")
return NewEmptyFreezeDB(db), nil
}

Expand Down

0 comments on commit 17e2212

Please sign in to comment.