mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-01 05:14:49 +00:00
Add missing timestamp in validator.md/get_execution_payload
This commit is contained in:
parent
ac175fd325
commit
c4c4dade27
@ -62,7 +62,8 @@ def get_execution_payload(state: BeaconState) -> ExecutionPayload:
|
||||
return ExecutionPayload()
|
||||
else:
|
||||
# Signify merge via producing on top of the last PoW block
|
||||
return produce_execution_payload(pow_block.block_hash)
|
||||
timestamp = compute_time_at_slot(state, state.slot)
|
||||
return produce_execution_payload(pow_block.block_hash, timestamp)
|
||||
|
||||
# Post-merge, normal payload
|
||||
execution_parent_hash = state.latest_execution_payload_header.block_hash
|
||||
|
Loading…
x
Reference in New Issue
Block a user