From 3cdbd95616c683edcc443d2ab2e539d7b1ac7afe Mon Sep 17 00:00:00 2001 From: Chris Li <271678682li@gmail.com> Date: Tue, 11 Jun 2024 18:00:37 +0800 Subject: [PATCH] fix: inspect metadata --- core/rawdb/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rawdb/database.go b/core/rawdb/database.go index 1ea3b17b2f..fc1320cf8b 100644 --- a/core/rawdb/database.go +++ b/core/rawdb/database.go @@ -978,7 +978,7 @@ func InspectDatabase(db ethdb.Database, keyPrefix, keyStart []byte) error { hashNumPairings.Add(size) default: var accounted bool - for _, meta := range [][]byte{headHeaderKey, headFinalizedBlockKey} { + for _, meta := range [][]byte{headHeaderKey, headFinalizedBlockKey, headBlockKey, headFastBlockKey} { if bytes.Equal(key, meta) { metadata.Add(size) accounted = true