Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hyperledger/besu into clock-drift
Browse files Browse the repository at this point in the history
  • Loading branch information
macfarla committed Aug 25, 2023
2 parents 61172f8 + 21dff15 commit 8bcaae8
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,7 @@ public JsonRpcResponse syncResponse(final JsonRpcRequestContext requestContext)
"Computed block hash %s does not match block hash parameter %s",
newBlockHeader.getBlockHash(), blockParam.getBlockHash());
LOG.debug(errorMessage);
return respondWithInvalid(
reqId,
blockParam,
mergeCoordinator.getLatestValidAncestor(blockParam.getParentHash()).orElse(null),
getInvalidBlockHashStatus(),
errorMessage);
return respondWithInvalid(reqId, blockParam, null, getInvalidBlockHashStatus(), errorMessage);
}

ValidationResult<RpcErrorType> blobValidationResult =
Expand Down

0 comments on commit 8bcaae8

Please sign in to comment.