chore(zk): rename verify_inner to verify_impl to match the proof

This commit is contained in:
Nicolas Sarlin
2025-06-11 17:13:41 +02:00
committed by Nicolas Sarlin
parent 2d224e75a1
commit 58f7457660

View File

@@ -1929,11 +1929,11 @@ pub fn verify<G: Curve + Send + Sync>(
) -> Result<(), ()> { ) -> Result<(), ()> {
// By running it in a limited thread pool, we make sure that the rayon overhead stays minimal // By running it in a limited thread pool, we make sure that the rayon overhead stays minimal
// compared to the actual verification work // compared to the actual verification work
run_in_pool(|| verify_inner(proof, public, metadata)) run_in_pool(|| verify_impl(proof, public, metadata))
} }
#[allow(clippy::result_unit_err)] #[allow(clippy::result_unit_err)]
pub fn verify_inner<G: Curve>( pub fn verify_impl<G: Curve>(
proof: &Proof<G>, proof: &Proof<G>,
public: (&PublicParams<G>, &PublicCommit<G>), public: (&PublicParams<G>, &PublicCommit<G>),
metadata: &[u8], metadata: &[u8],