Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jonastheis committed Nov 29, 2023
1 parent b31645c commit 75bf86a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ func (o *SybilProtection) CommitSlot(slot iotago.SlotIndex) (committeeRoot iotag

// Determine the committee root.
{
// If the committed slot is `maxCommittableSlot`
// away from the end of the epoch, then register a committee for the next epoch if it hasn't been selected yet.
// If the committed slot is `maxCommittableAge` away from the end of the epoch, then register (reuse)
// a committee for the next epoch if it hasn't been selected yet.
if slot+maxCommittableAge == currentEpochEndSlot {
if _, committeeExists := o.seatManager.CommitteeInEpoch(nextEpoch); !committeeExists {
// If the committee for the epoch wasn't set before due to finalization of a slot,
Expand Down

0 comments on commit 75bf86a

Please sign in to comment.