@@ -275,7 +275,6 @@ func TestWorkerToRequests(t *testing.T) {
275
275
max128 = uint32 (128 )
276
276
max9 = uint32 (9 )
277
277
max64 = uint32 (64 )
278
- max1 = uint32 (1 )
279
278
)
280
279
281
280
testCases := []testCase {
@@ -333,7 +332,7 @@ func TestWorkerToRequests(t *testing.T) {
333
332
StartingBlock : * variadic .MustNewUint64OrHash (1 ),
334
333
EndBlockHash : nil ,
335
334
Direction : network .Ascending ,
336
- Max : & max9 ,
335
+ Max : & max128 ,
337
336
},
338
337
},
339
338
},
@@ -374,7 +373,7 @@ func TestWorkerToRequests(t *testing.T) {
374
373
StartingBlock : * variadic .MustNewUint64OrHash (1 + maxResponseSize ),
375
374
EndBlockHash : nil ,
376
375
Direction : network .Ascending ,
377
- Max : & max64 ,
376
+ Max : & max128 ,
378
377
},
379
378
},
380
379
},
@@ -392,7 +391,7 @@ func TestWorkerToRequests(t *testing.T) {
392
391
StartingBlock : * variadic .MustNewUint64OrHash (1 ),
393
392
EndBlockHash : & (common.Hash {0xa }),
394
393
Direction : network .Ascending ,
395
- Max : & max9 ,
394
+ Max : & max128 ,
396
395
},
397
396
},
398
397
},
@@ -411,7 +410,7 @@ func TestWorkerToRequests(t *testing.T) {
411
410
StartingBlock : * variadic .MustNewUint64OrHash (common.Hash {0xb }),
412
411
EndBlockHash : & (common.Hash {0xc }),
413
412
Direction : network .Ascending ,
414
- Max : & max9 ,
413
+ Max : & max128 ,
415
414
},
416
415
},
417
416
},
@@ -427,7 +426,7 @@ func TestWorkerToRequests(t *testing.T) {
427
426
RequestedData : bootstrapRequestData ,
428
427
StartingBlock : * variadic .MustNewUint64OrHash (10 ),
429
428
Direction : network .Ascending ,
430
- Max : & max1 ,
429
+ Max : & max128 ,
431
430
},
432
431
},
433
432
},
0 commit comments