mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-31 21:05:24 +00:00
Fix block_body variable in is_transition_block
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
This commit is contained in:
parent
3420e51a0f
commit
24dc8a277f
@ -164,7 +164,7 @@ def is_transition_completed(state: BeaconState) -> Boolean:
|
||||
|
||||
```python
|
||||
def is_transition_block(state: BeaconState, block_body: BeaconBlockBody) -> boolean:
|
||||
return state.application_block_hash == Bytes32() and block.body.application_payload.block_hash != Bytes32()
|
||||
return state.application_block_hash == Bytes32() and block_body.application_payload.block_hash != Bytes32()
|
||||
```
|
||||
|
||||
### Block processing
|
||||
|
Loading…
x
Reference in New Issue
Block a user