Skip to content

Commit 3f712e7

Browse files
authored
core/rawdb: fix typo in comment (#25191)
1 parent d1890aa commit 3f712e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/rawdb/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ func NewDatabaseWithFreezer(db ethdb.KeyValueStore, freezer string, namespace st
208208
// are contiguous, otherwise we might end up with a non-functional freezer.
209209
if kvhash, _ := db.Get(headerHashKey(frozen)); len(kvhash) == 0 {
210210
// Subsequent header after the freezer limit is missing from the database.
211-
// Reject startup is the database has a more recent head.
211+
// Reject startup if the database has a more recent head.
212212
if *ReadHeaderNumber(db, ReadHeadHeaderHash(db)) > frozen-1 {
213213
return nil, fmt.Errorf("gap (#%d) in the chain between ancients and leveldb", frozen)
214214
}

0 commit comments

Comments
 (0)