Skip to content

Commit

Permalink
empty is unimplemented, so let's explicitly insert ()
Browse files Browse the repository at this point in the history
  • Loading branch information
mmagician committed Oct 4, 2023
1 parent 8d15d4e commit 6f3c663
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ligero/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use ark_std::vec::Vec;

use digest::Digest;

use crate::data_structures::PCRandomness;
use crate::ligero::utils::{inner_product, reed_solomon, IOPTranscript};
use crate::{Error, LabeledCommitment, LabeledPolynomial, PCUniversalParams, PolynomialCommitment};

Expand Down Expand Up @@ -167,7 +166,7 @@ where
));
}
let com_len = &commitments.len();
Ok((commitments, vec![Self::Randomness::empty(); *com_len]))
Ok((commitments, vec![(); *com_len]))
}

fn open<'a>(
Expand Down

0 comments on commit 6f3c663

Please sign in to comment.