mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-27 19:05:00 +00:00
minor bug in validator doc get_committee_assignment
(#689)
This commit is contained in:
parent
da2ee5c060
commit
daa8275318
@ -353,7 +353,7 @@ def get_committee_assignment(
|
|||||||
a beacon block at the assigned slot.
|
a beacon block at the assigned slot.
|
||||||
"""
|
"""
|
||||||
previous_epoch = get_previous_epoch(state)
|
previous_epoch = get_previous_epoch(state)
|
||||||
next_epoch = get_current_epoch(state)
|
next_epoch = get_current_epoch(state) + 1
|
||||||
assert previous_epoch <= epoch <= next_epoch
|
assert previous_epoch <= epoch <= next_epoch
|
||||||
|
|
||||||
epoch_start_slot = get_epoch_start_slot(epoch)
|
epoch_start_slot = get_epoch_start_slot(epoch)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user