do not use the sync target to download the headers (#7914)

Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
This commit is contained in:
Stefan Pingel
2024-11-27 16:33:53 +10:00
committed by GitHub
parent 126debbd92
commit e8a282fbcd

View File

@@ -99,7 +99,6 @@ public class DownloadHeadersStep
range.getStart().getNumber(),
headerRequestSize,
metricsSystem)
.assignPeer(range.getSyncTarget())
.run()
.thenApply(PeerTaskResult::getResult);
}