triedb/pathdb: fix layer 5 key range in account iterator traversal test

This commit is contained in:
Weixie Cui 2026-04-03 00:02:59 +08:00
parent bcb0efd756
commit 0af3200dca

View file

@ -369,7 +369,7 @@ func TestAccountIteratorTraversalValues(t *testing.T) {
if i%8 == 0 {
e[common.Hash{i}] = fmt.Appendf(nil, "layer-%d, key %d", 4, i)
}
if i > 50 || i < 85 {
if i > 50 && i < 85 {
f[common.Hash{i}] = fmt.Appendf(nil, "layer-%d, key %d", 5, i)
}
if i%64 == 0 {