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 6e404305823..ae568491587 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 @@ private CompletableFuture> downloadHeaders(final SyncTargetRan range.getStart().getNumber(), headerRequestSize, metricsSystem) - .assignPeer(range.getSyncTarget()) .run() .thenApply(PeerTaskResult::getResult); }