mirror of https://github.com/zcash/halo2.git
Fix a clippy lint.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
e408a351d5
commit
16e5f96f3f
|
@ -50,9 +50,9 @@ pub fn hash_to_field<F: FieldExt>(message: &[u8], domain_separation_tag: &[u8],
|
||||||
.update(&[1])
|
.update(&[1])
|
||||||
.update(&dst_prime),
|
.update(&dst_prime),
|
||||||
);
|
);
|
||||||
|
let mut empty_hasher = empty_hasher;
|
||||||
let b_2 = finalize(
|
let b_2 = finalize(
|
||||||
empty_hasher
|
empty_hasher
|
||||||
.clone()
|
|
||||||
.update(&xor(&b_0, &b_1))
|
.update(&xor(&b_0, &b_1))
|
||||||
.update(&[2])
|
.update(&[2])
|
||||||
.update(&dst_prime),
|
.update(&dst_prime),
|
||||||
|
|
Loading…
Reference in New Issue