mirror of https://github.com/zcash/halo2.git
Fix error in doc comment.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
9aa3327a0a
commit
25ea5d07f7
|
@ -92,7 +92,7 @@ pub trait Curve:
|
|||
/// let hasher = C::Projective::hash_to_curve("z.cash:example_pedersen_commitment");
|
||||
/// let g = hasher(b"g");
|
||||
/// let h = hasher(b"h");
|
||||
/// (g * x + h * r).to_affine()
|
||||
/// (g * x + &(h * r)).to_affine()
|
||||
/// }
|
||||
/// ```
|
||||
fn hash_to_curve(domain_prefix: &str) -> Box<dyn Fn(&[u8]) -> Self + 'static>;
|
||||
|
|
Loading…
Reference in New Issue