mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 13:25:04 -05:00
Fix block_body variable in is_transition_block
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user