mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
v1.35.31's bound rejected PartyID >= ValidatorSetSize, but party IDs are 1-based (threshold convention: Shamir x=0 is the secret), so validators are 1..N and the Nth validator (PartyID == ValidatorSetSize) was wrongly dropped — breaking every real N-of-N ceremony (quorum never reached). The bound is a strict UPPER bound now (> ValidatorSetSize): DoS-safe (rejects unbounded PartyID) and 1-based-correct. TestFinalize_BoundaryPartyIDEqualsValidatorSetSize locks it. The v1.35.31 tag is left untouched (immutable); this is v1.35.32.