Skip to content

Commit 957c984

Browse files
noirgifsadoci
authored andcommitted
core/rawdb: fix typo in comment (ethereum#25191)
1 parent 601bc34 commit 957c984

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
@@ -213,7 +213,7 @@ func NewDatabaseWithFreezer(db ethdb.KeyValueStore, freezer string, namespace st
213213
// are contiguous, otherwise we might end up with a non-functional freezer.
214214
if kvhash, _ := db.Get(headerHashKey(frozen)); len(kvhash) == 0 {
215215
// Subsequent header after the freezer limit is missing from the database.
216-
// Reject startup is the database has a more recent head.
216+
// Reject startup if the database has a more recent head.
217217
if *ReadHeaderNumber(db, ReadHeadHeaderHash(db)) > frozen-1 {
218218
return nil, fmt.Errorf("gap (#%d) in the chain between ancients and leveldb", frozen)
219219
}

0 commit comments

Comments
 (0)