Update 0_beacon-chain.md
This commit is contained in:
parent
3459ea0838
commit
d25c18b320
|
@ -2247,7 +2247,7 @@ def process_block_header(state: BeaconState, block: BeaconBlock) -> None:
|
|||
assert block.previous_block_root == hash_tree_root(state.latest_block_header)
|
||||
# Save current block as the new latest block
|
||||
state.latest_block_header = get_temporary_block_header(block)
|
||||
# Verify proposer
|
||||
# Verify proposer is not slashed
|
||||
proposer = state.validator_registry[get_beacon_proposer_index(state, state.slot)]
|
||||
assert not proposer.slashed
|
||||
# Verify proposer signature
|
||||
|
|
Loading…
Reference in New Issue