From 51c0209f626e7d75d220e04413d4e685eec50cb2 Mon Sep 17 00:00:00 2001 From: Robin Salen Date: Thu, 11 Apr 2024 14:58:11 +0900 Subject: [PATCH] Fix merge issues --- tests/ice_frost.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ice_frost.rs b/tests/ice_frost.rs index 6ee709f..ca4326a 100644 --- a/tests/ice_frost.rs +++ b/tests/ice_frost.rs @@ -294,7 +294,7 @@ fn resharing_from_non_frost_key() { <::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); @@ -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::>::new(); let mut signers_dh_secret_keys = Vec::>::new();