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

Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
pull/7945/head
Stefan Pingel 1 week ago committed by GitHub
parent 126debbd92
commit e8a282fbcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/DownloadHeadersStep.java

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

Loading…
Cancel
Save