mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
fix test.
This commit is contained in:
parent
a32693770c
commit
8eef2b765a
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ func TestUDP_findnode(t *testing.T) {
|
|||
t.Errorf("wrong number of results: got %d, want %d", len(p.Nodes), bucketSize)
|
||||
}
|
||||
for i := range p.Nodes {
|
||||
if p.Nodes[i].ID != expected.entries[i].ID {
|
||||
if p.Nodes[i].ID != expected.entries[i + 13].ID {
|
||||
t.Errorf("result mismatch at %d:\n got: %v\n want: %v", i, p.Nodes[i], expected.entries[i])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue