Skip to content

Commit

Permalink
Fix expression order in verify_and_notify_new_payload
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalinin committed Oct 1, 2024
1 parent a00d1fd commit 69b7be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/electra/beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,8 @@ def verify_and_notify_new_payload(self: ExecutionEngine,
Return ``True`` if and only if ``new_payload_request`` is valid with respect to ``self.execution_state``.
"""
execution_payload = new_payload_request.execution_payload
execution_requests_hash = new_payload_request.execution_requests_hash # [New in Electra]
parent_beacon_block_root = new_payload_request.parent_beacon_block_root
execution_requests_hash = new_payload_request.execution_requests_hash # [New in Electra]

if not self.is_valid_block_hash(execution_payload, parent_beacon_block_root):
return False
Expand Down

0 comments on commit 69b7be5

Please sign in to comment.