From a20cdbc6f9ddd55ca482ac053698c3caf736f5c2 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 18 Mar 2025 21:57:59 +0100 Subject: [PATCH] core/rawdb: improve logs --- core/rawdb/chain_iterator.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/rawdb/chain_iterator.go b/core/rawdb/chain_iterator.go index e329598d82..85ebfbb234 100644 --- a/core/rawdb/chain_iterator.go +++ b/core/rawdb/chain_iterator.go @@ -387,13 +387,13 @@ func PruneTransactionIndex(db ethdb.Database, pruneBlock uint64) { count++ v := iter.Value() if len(v) > 8 { - log.Error("Skipping prune legacy tx index entry", "hash", fmt.Sprintf("%x", iter.Key())) + log.Error("Skipping legacy tx index entry", "hash", fmt.Sprintf("%x", iter.Key())) continue } bn := decodeNumber(v) if bn < pruneBlock { if err := db.Delete(iter.Key()); err != nil { - log.Crit("Error deleting tx lookup entry", "hash", fmt.Sprintf("%x", iter.Key())) + log.Crit("Error deleting tx index entry", "hash", fmt.Sprintf("%x", iter.Key())) } removed++ }