mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-08 07:58:40 +00:00
Mirror the account-iterator test fix from #34639 into the sibling storage-iterator test in the same file. The layer-5 diff condition used `i > 50 || i < 85`, which is true for every byte in the 0..255 loop since the two ranges cover the full byte space between them. Switch to `i > 50 && i < 85` so layer 5 only covers the intended band (51..84), consistent with the fix already applied to TestAccountIteratorTraversalValues in #34639 and to both variants of TestAccountIteratorTraversalValues / TestStorageIteratorTraversalValues in core/state/snapshot/iterator_test.go from #34638. |
||
|---|---|---|
| .. | ||
| database | ||
| hashdb | ||
| internal | ||
| pathdb | ||
| database.go | ||
| generate.go | ||
| generate_test.go | ||
| history.go | ||
| preimages.go | ||
| preimages_test.go | ||
| states.go | ||