minor bug in validator doc get_committee_assignment (#689)

This commit is contained in:
Danny Ryan 2019-02-25 21:19:28 -07:00 committed by Hsiao-Wei Wang
parent da2ee5c060
commit daa8275318

View File

@ -353,7 +353,7 @@ def get_committee_assignment(
a beacon block at the assigned slot.
"""
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
epoch_start_slot = get_epoch_start_slot(epoch)