good morning!!!!

Skip to content
Snippets Groups Projects
Commit fe87fecc authored by Péter Szilágyi's avatar Péter Szilágyi
Browse files

eth/downloader: add a small additional check to the test

parent ebf1eb93
No related branches found
No related tags found
No related merge requests found
......@@ -330,4 +330,7 @@ func TestNonExistingParentAttack(t *testing.T) {
if len(bs) != 1 {
t.Fatalf("retrieved block mismatch: have %v, want %v", len(bs), 1)
}
if !tester.hasBlock(bs[0].ParentHash()) {
t.Fatalf("tester doesn't know about the origin hash")
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment