Update 0_beacon-chain-validator.md
This commit is contained in:
parent
68b5fe5b9f
commit
c96f709505
|
@ -350,6 +350,8 @@ def get_committee_assignment(
|
|||
* ``assignment[3]`` is a bool signalling if the validator is expected to propose
|
||||
a beacon block at the assigned slot.
|
||||
"""
|
||||
previous_epoch = get_previous_epoch(state)
|
||||
next_epoch = get_current_epoch(state)
|
||||
assert previous_epoch <= epoch <= next_epoch
|
||||
|
||||
epoch_start_slot = get_epoch_start_slot(epoch)
|
||||
|
|
Loading…
Reference in New Issue