fix minor cosmetic typo

This commit is contained in:
Justin 2021-07-07 13:44:22 +01:00 committed by GitHub
parent 153e1b34dd
commit c8d22b1d91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ def process_execution_payload(state: BeaconState, payload: ExecutionPayload, exe
assert payload.timestamp == compute_timestamp_at_slot(state, state.slot) assert payload.timestamp == compute_timestamp_at_slot(state, state.slot)
# Verify the execution payload is valid # Verify the execution payload is valid
assert execution_engine.on_payload(payload) assert execution_engine.on_payload(payload)
# Cache execution payload # Cache execution payload header
state.latest_execution_payload_header = ExecutionPayloadHeader( state.latest_execution_payload_header = ExecutionPayloadHeader(
parent_hash=payload.parent_hash, parent_hash=payload.parent_hash,
coinbase=payload.coinbase, coinbase=payload.coinbase,