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
1 changed files with 2 additions and 2 deletions

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
pub fn verify_proof<'a, C: CurveAffine, R: Read, T: TranscriptRead<R, C>>(
params: &'a Params<C>,
vk: &'a VerifyingKey<C>,
vk: &VerifyingKey<C>,
msm: MSM<'a, C>,
aux_commitments: &'a [C],
aux_commitments: &[C],
transcript: &mut T,
) -> Result<Guard<'a, C>, Error> {
// Check that aux_commitments matches the expected number of aux columns