mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 03:34:20 +00:00
Merge pull request #2638 from etan-status/exec-payload-time
use correct timestamp for empty ExecutionPayload
This commit is contained in:
commit
296f9bab81
@ -3,7 +3,7 @@ def build_empty_execution_payload(spec, state, randao_mix=None):
|
||||
Assuming a pre-state of the same slot, build a valid ExecutionPayload without any transactions.
|
||||
"""
|
||||
latest = state.latest_execution_payload_header
|
||||
timestamp = spec.compute_time_at_slot(state, state.slot)
|
||||
timestamp = spec.compute_timestamp_at_slot(state, state.slot)
|
||||
empty_txs = spec.List[spec.Transaction, spec.MAX_TRANSACTIONS_PER_PAYLOAD]()
|
||||
|
||||
if randao_mix is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user