mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-08 20:40:31 +00:00
Apply suggestions from code review
Co-authored-by: str4d <jack@electriccoin.co>
This commit is contained in:
parent
98f5b17359
commit
bc9d05e67b
3 changed files with 4 additions and 4 deletions
|
|
@ -92,7 +92,7 @@ impl<C: CurveAffine> VerifyingKey<C> {
|
||||||
|
|
||||||
// Hash in final Blake2bState
|
// Hash in final Blake2bState
|
||||||
transcript.common_scalar(C::Scalar::from_bytes_wide(
|
transcript.common_scalar(C::Scalar::from_bytes_wide(
|
||||||
hasher.finalize().as_bytes().try_into().unwrap(),
|
hasher.finalize().as_array(),
|
||||||
))?;
|
))?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue