From bcd46db0532164504245c0e0c4c85f18d0b4a3d4 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 18 Mar 2025 21:44:09 +0100 Subject: [PATCH] core/rawdb: improve comment --- core/rawdb/chain_iterator.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/rawdb/chain_iterator.go b/core/rawdb/chain_iterator.go index 89bd2c6421..e329598d82 100644 --- a/core/rawdb/chain_iterator.go +++ b/core/rawdb/chain_iterator.go @@ -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