Remove unnecessary lifetimes.

This commit is contained in:
Sean Bowe 2020-12-23 15:34:07 -07:00
parent 06552eec44
commit 4ecbfb548e
No known key found for this signature in database
GPG key ID: 95684257D8F8B031

View file

@ -16,9 +16,9 @@ use crate::transcript::{read_n_points, read_n_scalars, TranscriptRead};
/// Returns a boolean indicating whether or not the proof is valid /// Returns a boolean indicating whether or not the proof is valid
pub fn verify_proof<'a, C: CurveAffine, R: Read, T: TranscriptRead<R, C>>( pub fn verify_proof<'a, C: CurveAffine, R: Read, T: TranscriptRead<R, C>>(
params: &'a Params<C>, params: &'a Params<C>,
vk: &'a VerifyingKey<C>, vk: &VerifyingKey<C>,
msm: MSM<'a, C>, msm: MSM<'a, C>,
aux_commitments: &'a [C], aux_commitments: &[C],
transcript: &mut T, transcript: &mut T,
) -> Result<Guard<'a, C>, Error> { ) -> Result<Guard<'a, C>, Error> {
// Check that aux_commitments matches the expected number of aux columns // Check that aux_commitments matches the expected number of aux columns