Skip to content

Commit

Permalink
Fixes wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nkcr committed Aug 18, 2022
1 parent 95d83f0 commit 43decfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/dkg/pedersen/dkg_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ func TestDKGResharingNewNodes(t *testing.T) {
newPrivs := make([]kyber.Scalar, newN)
newPubs := make([]kyber.Point, newN)

// old[-1], old[-2] = new[0], new[1]
// new[0], new[1] = old[-1], old[-2]
newPrivs[0] = oldPrivs[oldN-1]
newPubs[0] = oldPubs[oldN-1]
newPrivs[1] = oldPrivs[oldN-2]
Expand Down

0 comments on commit 43decfe

Please sign in to comment.