Skip to content

Commit

Permalink
minor bug in validator doc get_committee_assignment (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
djrtwo authored and hwwhww committed Feb 26, 2019
1 parent da2ee5c commit daa8275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/validator/0_beacon-chain-validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit daa8275

Please sign in to comment.