Skip to content

Commit 35ef36c

Browse files
committed
fix start problem of +1
Signed-off-by: [email protected] <[email protected]>
1 parent e066eef commit 35ef36c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/possync/PosSyncDownloadPipelineFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public Pipeline<SyncTargetNumberRange> createDownloadPipelineForSyncTarget(
158158
final int downloaderBodyParallelism = syncConfig.getDownloaderBodyParallelism();
159159
final int downloaderReceiptParallelism = syncConfig.getDownloaderReceiptsParallelism();
160160

161-
final long startingBlock = getCommonAncestor(target) + 1;
161+
final long startingBlock = getCommonAncestor(target);
162162
final PosSyncSource syncSource =
163163
new PosSyncSource(
164164
startingBlock, // TODO remove the +1 when check in DefaultBlockChain is fixed

0 commit comments

Comments
 (0)