Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Fix merge issues with latest PR #42

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/ice_frost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ fn resharing_from_non_frost_key() {
<<Secp256k1Sha256 as CipherSuite>::G>::generator() * single_party_sk;

// Converts this party's keys into ICE-FROST format, simulating a 1-out-of-1 setup.
let simulated_parameters = ThresholdParameters::new(1, 1);
let simulated_parameters = ThresholdParameters::new(1, 1).unwrap();
let frost_sk = IndividualSigningKey::from_single_key(single_party_sk);
let frost_pk = GroupVerifyingKey::new(single_party_pk);

Expand All @@ -303,7 +303,7 @@ fn resharing_from_non_frost_key() {
const THRESHOLD_OF_PARTICIPANTS: u32 = 3;

let threshold_parameters =
ThresholdParameters::new(NUMBER_OF_PARTICIPANTS, THRESHOLD_OF_PARTICIPANTS);
ThresholdParameters::new(NUMBER_OF_PARTICIPANTS, THRESHOLD_OF_PARTICIPANTS).unwrap();

let mut signers = Vec::<Participant<Secp256k1Sha256>>::new();
let mut signers_dh_secret_keys = Vec::<DiffieHellmanPrivateKey<Secp256k1Sha256>>::new();
Expand Down
Loading