Skip to content

Commit

Permalink
Encode/decode public share in run_vdaf_prepare() (#832)
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentdave authored Nov 14, 2023
1 parent 74a19f9 commit 885045d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vdaf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,8 @@ where
V: Client<16> + Aggregator<SEED_SIZE, 16> + Collector,
M: IntoIterator<Item = V::InputShare>,
{
let public_share =
V::PublicShare::get_decoded_with_param(vdaf, &public_share.get_encoded()).unwrap();
let input_shares = input_shares
.into_iter()
.map(|input_share| input_share.get_encoded());
Expand Down

0 comments on commit 885045d

Please sign in to comment.