mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-11 13:39:25 +00:00
fmt
This commit is contained in:
@@ -41,14 +41,8 @@ pub async fn key_gen<C: Ciphersuite>(
|
|||||||
shares,
|
shares,
|
||||||
}) => {
|
}) => {
|
||||||
assert_eq!(id, *this_id);
|
assert_eq!(id, *this_id);
|
||||||
assert_eq!(
|
assert_eq!(params.t(), u16::try_from(((coordinators * 2) / 3) + 1).unwrap(),);
|
||||||
params.t(),
|
assert_eq!(params.n(), u16::try_from(coordinators).unwrap(),);
|
||||||
u16::try_from(((coordinators * 2) / 3) + 1).unwrap(),
|
|
||||||
);
|
|
||||||
assert_eq!(
|
|
||||||
params.n(),
|
|
||||||
u16::try_from(coordinators).unwrap(),
|
|
||||||
);
|
|
||||||
assert_eq!(*shares, 1);
|
assert_eq!(*shares, 1);
|
||||||
participant_is.push(params.i());
|
participant_is.push(params.i());
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user