mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 09:51:36 +00:00
core/state/snapshot: fix layer 5 key range in iterator traversal tests
This commit is contained in:
parent
bcb0efd756
commit
e18de5c8f6
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
@ -441,7 +441,7 @@ func TestStorageIteratorTraversalValues(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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue