Skip to content

Commit 30055b7

Browse files
authored
fix: doc for plonk::verify_proof to reflect Result<V::Output, Error>
1 parent 2308caf commit 30055b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

halo2_proofs/src/plonk/verifier.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ impl<'params, C: CurveAffine> VerificationStrategy<'params, C> for SingleVerifie
6363
}
6464
}
6565

66-
/// Returns a boolean indicating whether or not the proof is valid
66+
/// Verifies a proof using the provided strategy.
67+
///
68+
/// On success returns the strategy-defined output (`V::Output`), or an `Error` on failure.
6769
pub fn verify_proof<
6870
'params,
6971
C: CurveAffine,

0 commit comments

Comments
 (0)