mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-19 23:19:28 +00:00
Verify transition block to be assembled correctly
This commit is contained in:
parent
46fc8a196d
commit
3420e51a0f
@ -211,5 +211,6 @@ def process_application_payload(state: BeaconState, body: BeaconBlockBody) -> No
|
||||
state.application_block_hash = body.application_payload.block_hash
|
||||
|
||||
elif is_transition_block(state, body):
|
||||
assert body.application_payload == ApplicationPayload(block_hash = body.application_payload.block_hash)
|
||||
state.application_block_hash = body.application_payload.block_hash
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user