mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
Fix clippy
This commit is contained in:
parent
749e70b5b0
commit
2a4052975f
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user