This commit is contained in:
Luke Parker
2024-06-10 13:46:57 -04:00
parent 97ef70fbd7
commit cca9e8cf16

View File

@@ -41,14 +41,8 @@ pub async fn key_gen<C: Ciphersuite>(
shares,
}) => {
assert_eq!(id, *this_id);
assert_eq!(
params.t(),
u16::try_from(((coordinators * 2) / 3) + 1).unwrap(),
);
assert_eq!(
params.n(),
u16::try_from(coordinators).unwrap(),
);
assert_eq!(params.t(), u16::try_from(((coordinators * 2) / 3) + 1).unwrap(),);
assert_eq!(params.n(), u16::try_from(coordinators).unwrap(),);
assert_eq!(*shares, 1);
participant_is.push(params.i());
break;