File tree Expand file tree Collapse file tree
beacon/sync/src/main/java/tech/pegasys/teku/beacon/sync/forward/singlepeer Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments