From fdfc0a84312306516662022637fbacf8e517ef82 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Thu, 22 Feb 2024 11:29:32 +1100 Subject: [PATCH] Fix typo in `verify_payload_block_hash` --- .../execution_layer/src/engine_api/new_payload_request.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_node/execution_layer/src/engine_api/new_payload_request.rs b/beacon_node/execution_layer/src/engine_api/new_payload_request.rs index b1385399e89..b9527ed09db 100644 --- a/beacon_node/execution_layer/src/engine_api/new_payload_request.rs +++ b/beacon_node/execution_layer/src/engine_api/new_payload_request.rs @@ -86,7 +86,7 @@ impl<'block, E: EthSpec> NewPayloadRequest<'block, E> { /// /// https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.2/specs/deneb/beacon-chain.md#modified-verify_and_notify_new_payload pub fn perform_optimistic_sync_verifications(&self) -> Result<(), Error> { - self.verfiy_payload_block_hash()?; + self.verify_payload_block_hash()?; self.verify_versioned_hashes()?; Ok(()) @@ -98,7 +98,7 @@ impl<'block, E: EthSpec> NewPayloadRequest<'block, E> { /// /// Equivalent to `is_valid_block_hash` in the spec: /// https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.2/specs/deneb/beacon-chain.md#is_valid_block_hash - pub fn verfiy_payload_block_hash(&self) -> Result<(), Error> { + pub fn verify_payload_block_hash(&self) -> Result<(), Error> { let payload = self.execution_payload_ref(); let parent_beacon_block_root = self.parent_beacon_block_root().ok().cloned();