Merge pull request #2508 from ethereum/JustinDrake-patch-7

fix minor cosmetic typo
This commit is contained in:
Danny Ryan 2021-07-07 09:39:08 -06:00 committed by GitHub
commit bdbee43a36
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,