mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/rawdb: fix test
This commit is contained in:
parent
8f0c256d46
commit
37e5c4cb5a
1 changed files with 2 additions and 2 deletions
|
|
@ -99,8 +99,8 @@ func testTableDatabase(t *testing.T, prefix string) {
|
|||
iter.Release()
|
||||
|
||||
// Test iterators with start point
|
||||
iter = db.NewIteratorWithStart([]byte{0xff, 0xff, 0x01})
|
||||
index = 3
|
||||
iter = db.NewIteratorWithStart([]byte{0xff, 0xff, 0x02})
|
||||
index = 4
|
||||
for iter.Next() {
|
||||
key, value := iter.Key(), iter.Value()
|
||||
if !bytes.Equal(key, entries[index].key) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue