Skip to content

Commit 1c01959

Browse files
cursor fix
1 parent d0cff2a commit 1c01959

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

  • beacon/sync/src/main/java/tech/pegasys/teku/beacon/sync/forward/singlepeer

beacon/sync/src/main/java/tech/pegasys/teku/beacon/sync/forward/singlepeer/PeerSync.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -454,12 +454,12 @@ private SafeFuture<Void> importBlock(
454454
"Block import result for block at slot {}: {}",
455455
block.getSlot(),
456456
blockImportResult);
457-
if (maybeExecutionPayload.isEmpty() || !blockImportResult.isSuccessful()) {
458-
processImportResult(
459-
blockImportResult.isSuccessful(),
460-
blockImportSuccessResult,
461-
blockImportFailureResult,
462-
() -> new FailedBlockImportException(block, blockImportResult));
457+
processImportResult(
458+
blockImportResult.isSuccessful(),
459+
blockImportSuccessResult,
460+
blockImportFailureResult,
461+
() -> new FailedBlockImportException(block, blockImportResult));
462+
if (maybeExecutionPayload.isEmpty()) {
463463
return SafeFuture.COMPLETE;
464464
}
465465
final SignedExecutionPayloadEnvelope executionPayload = maybeExecutionPayload.get();

0 commit comments

Comments
 (0)