core/rawdb: improve comment

This commit is contained in:
Felix Lange 2025-03-18 21:44:09 +01:00
parent 94b7b6994e
commit bcd46db053

View file

@ -374,9 +374,9 @@ func PruneTransactionIndex(db ethdb.Database, pruneBlock uint64) {
return // index ends above pruneBlock
}
// There are transactions below pruneBlock in the index. Iterate the entire index to
// remove the entries. Note if this fails, the index is messed up, but tail still
// points to the old tail.
// There are blocks below pruneBlock in the index. Iterate the entire index to remove
// their entries. Note if this fails, the index is messed up, but tail still points to
// the old tail.
var (
iter = db.NewIterator(txLookupPrefix, nil)
count int