Fix clippy

This commit is contained in:
howardwu 2021-02-04 20:34:24 -08:00
parent 749e70b5b0
commit 2a4052975f

View File

@ -237,19 +237,19 @@ impl<F: Field + PrimeField, G: GroupType<F>> Compiler<F, G> {
Ok(hex::encode(hash))
}
// /// TODO (howardwu): Incorporate this for real program executions and intentionally-real
// /// test executions. Exclude it for test executions on dummy data.
// ///
// /// Verifies the input to the program.
// ///
// fn verify_local_data_commitment(
// &self,
// system_parameters: &SystemParameters<Components>,
// ) -> Result<bool, CompilerError> {
// let result = verify_local_data_commitment(system_parameters, &self.program_input)?;
//
// Ok(result)
// }
/// TODO (howardwu): Incorporate this for real program executions and intentionally-real
/// test executions. Exclude it for test executions on dummy data.
///
/// Verifies the input to the program.
///
pub fn verify_local_data_commitment(
&self,
system_parameters: &SystemParameters<Components>,
) -> Result<bool, CompilerError> {
let result = verify_local_data_commitment(system_parameters, &self.program_input)?;
Ok(result)
}
///
/// Manually sets main function input.