From e8a282fbcd51fdf0da24aa201ffe8a6060c71f2c Mon Sep 17 00:00:00 2001 From: Stefan Pingel <16143240+pinges@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:33:53 +1000 Subject: [PATCH] do not use the sync target to download the headers (#7914) Signed-off-by: stefan.pingel@consensys.net --- .../hyperledger/besu/ethereum/eth/sync/DownloadHeadersStep.java | 1 - 1 file changed, 1 deletion(-) diff --git a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/DownloadHeadersStep.java b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/DownloadHeadersStep.java index 6e40430582..ae56849158 100644 --- a/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/DownloadHeadersStep.java +++ b/ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/DownloadHeadersStep.java @@ -99,7 +99,6 @@ public class DownloadHeadersStep range.getStart().getNumber(), headerRequestSize, metricsSystem) - .assignPeer(range.getSyncTarget()) .run() .thenApply(PeerTaskResult::getResult); }