mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 13:09:24 +00:00
fmt
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user