Apply suggestions from code review

Co-authored-by: str4d <jack@electriccoin.co>
This commit is contained in:
ebfull 2021-02-17 13:44:28 -07:00 committed by Sean Bowe
parent 98f5b17359
commit bc9d05e67b
No known key found for this signature in database
GPG key ID: 95684257D8F8B031
3 changed files with 4 additions and 4 deletions

View file

@ -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(())