Fix timestamp passed to produce_execution_payload

This commit is contained in:
Mikhail Kalinin 2021-06-11 22:46:24 +06:00
parent 95775e1b90
commit 7d617bc7c0
1 changed files with 2 additions and 2 deletions

View File

@ -95,9 +95,9 @@ def get_execution_payload(state: BeaconState,
return ExecutionPayload()
else:
# Signify merge via producing on top of the last PoW block
return produce_execution_payload(state, pow_block.block_hash, timestamp, randao_reveal)
return produce_execution_payload(state, pow_block.block_hash, randao_reveal)
# Post-merge, normal payload
parent_hash = state.latest_execution_payload_header.block_hash
return produce_execution_payload(state, parent_hash, timestamp, randao_reveal)
return produce_execution_payload(state, parent_hash, randao_reveal)
```