eth/downloader: fix log errors of queue_test.go (#25494)

This commit is contained in:
int88
2022-08-08 16:07:54 +03:00
committed by GitHub
parent e44d6551c3
commit e93442c6cf
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -150,7 +150,7 @@ func TestBasics(t *testing.T) {
// The second peer should hit throttling
if !throttle {
t.Fatalf("should not throttle")
t.Fatalf("should throttle")
}
// And not get any fetches at all, since it was throttled to begin with
if fetchReq != nil {
@@ -239,7 +239,7 @@ func TestEmptyBlocks(t *testing.T) {
// there should be nothing to fetch, blocks are empty
if fetchReq != nil {
t.Fatal("there should be no body fetch tasks remaining")
t.Fatal("there should be no receipt fetch tasks remaining")
}
}
if q.blockTaskQueue.Size() != numOfBlocks-10 {