core/state: and instead of or

This commit is contained in:
Weixie Cui 2026-04-24 21:57:59 +08:00
parent 6ece4cd143
commit 1c72a965b5

View file

@ -342,7 +342,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 {