Skip to content

Commit

Permalink
Correct ThresholdKeys serialization in modular-frost test
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Aug 6, 2024
1 parent e9d09ef commit dbf32d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/frost/src/tests/vectors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ fn vectors_to_multisig_keys<C: Curve>(vectors: &Vectors) -> HashMap<Participant,
serialized.extend(vectors.threshold.to_le_bytes());
serialized.extend(u16::try_from(shares.len()).unwrap().to_le_bytes());
serialized.extend(i.to_le_bytes());
serialized.push(1);
serialized.extend(shares[usize::from(i) - 1].to_repr().as_ref());
for share in &verification_shares {
serialized.extend(share.to_bytes().as_ref());
Expand Down

0 comments on commit dbf32d5

Please sign in to comment.