Skip to content

Commit

Permalink
Closes #43 that was actually already fixed in #45, but this also fixe…
Browse files Browse the repository at this point in the history
…s the issue from dedis#374
  • Loading branch information
AnomalRoil committed Jun 16, 2023
1 parent 5706fa5 commit 2f669a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/vss/pedersen/vss.go
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ func (a *Aggregator) MissingResponses() []int {
// the whole protocol insecure. Setting a higher T only makes it harder to
// reconstruct the secret.
func MinimumT(n int) int {
return (n + 1) / 2
return (n >> 1) + 1
}

func validT(t int, verifiers []kyber.Point) bool {
Expand Down

0 comments on commit 2f669a8

Please sign in to comment.