Skip to content

Commit

Permalink
forgotten code of benches
Browse files Browse the repository at this point in the history
  • Loading branch information
iquerejeta committed Jun 8, 2021
1 parent 4cac766 commit a35f16e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chain-vote/benches/shvzk.rs
Expand Up @@ -10,8 +10,9 @@ fn common(rng: &mut ChaCha20Rng) -> (EncryptingVoteKey, EncryptingVote) {
let mc = [mc1.to_public()];

let threshold = 1;
let nr_members = 1;

let m1 = MemberState::new(rng, threshold, &h, &mc, 0);
let m1 = DistributedKeyGeneration::init(rng, threshold, nr_members, &h, &mc, 0);

let participants = vec![m1.public_key()];
let ek = EncryptingVoteKey::from_participants(&participants);
Expand Down

0 comments on commit a35f16e

Please sign in to comment.