Fix a clippy lint

This was leftover after an intermediate refactor that introduced
`hash_to_point_inner`.
This commit is contained in:
Jack Grigg 2021-04-20 23:57:59 +12:00
parent b1286b4e94
commit c7b9ce0ea9
1 changed files with 1 additions and 2 deletions

View File

@ -120,8 +120,7 @@ impl HashDomain {
///
/// [concretesinsemillahash]: https://zips.z.cash/protocol/nu5.pdf#concretesinsemillahash
pub(crate) fn hash(&self, msg: impl Iterator<Item = bool>) -> CtOption<pallas::Base> {
let point: CtOption<_> = self.hash_to_point(msg).into();
extract_p_bottom(point)
extract_p_bottom(self.hash_to_point(msg))
}
/// Returns the Sinsemilla $Q$ constant for this domain.