mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 06:53:46 +00:00
core/rawdb: fix tracking of filtermaps row keys
This commit is contained in:
parent
000460b89e
commit
7ca68af0c4
1 changed files with 1 additions and 1 deletions
|
|
@ -452,7 +452,7 @@ func InspectDatabase(db ethdb.Database, keyPrefix, keyStart []byte) error {
|
||||||
cliqueSnaps.Add(size)
|
cliqueSnaps.Add(size)
|
||||||
|
|
||||||
// new log index
|
// 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)
|
filterMapRows.Add(size)
|
||||||
case bytes.HasPrefix(key, filterMapLastBlockPrefix) && len(key) == len(filterMapLastBlockPrefix)+4:
|
case bytes.HasPrefix(key, filterMapLastBlockPrefix) && len(key) == len(filterMapLastBlockPrefix)+4:
|
||||||
filterMapLastBlock.Add(size)
|
filterMapLastBlock.Add(size)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue