diff --git a/core/rawdb/database.go b/core/rawdb/database.go index 0b086e2d90..5127f53789 100644 --- a/core/rawdb/database.go +++ b/core/rawdb/database.go @@ -452,7 +452,7 @@ func InspectDatabase(db ethdb.Database, keyPrefix, keyStart []byte) error { cliqueSnaps.Add(size) // new log index - case bytes.HasPrefix(key, filterMapRowPrefix) && len(key) == len(filterMapRowPrefix)+8: + case bytes.HasPrefix(key, filterMapRowPrefix) && len(key) <= len(filterMapRowPrefix)+9: filterMapRows.Add(size) case bytes.HasPrefix(key, filterMapLastBlockPrefix) && len(key) == len(filterMapLastBlockPrefix)+4: filterMapLastBlock.Add(size)