Skip to content

Commit

Permalink
replace redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Jan 23, 2023
1 parent bacea0a commit 6181179
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ferveo/benches/benchmarks/pvdkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ pub fn setup_dkg(
let keypairs = gen_keypairs(num);
let validators = gen_validators(&keypairs);
let me = validators[validator].clone();
let shares_num = 300;
PubliclyVerifiableDkg::new(
validators,
Params {
tau: 0,
security_threshold: 300 / 3,
shares_num: 300,
security_threshold: shares_num / 3,
shares_num,
retry_after: 2,
},
&me,
Expand Down

0 comments on commit 6181179

Please sign in to comment.