Do not derive Hash for orchard::Nullifier as pallas::Base doesn't have it

If we need Hash, we may need to replace the inner type with bytes.
This commit is contained in:
Deirdre Connolly 2021-04-24 00:50:01 -04:00
parent 70bf4f80fb
commit 39b8e9859f
1 changed files with 1 additions and 9 deletions

View File

@ -35,15 +35,7 @@ fn prf_nf(nk: pallas::Base, rho: pallas::Base) -> pallas::Base {
}
/// A Nullifier for Orchard transactions
#[derive(
Clone,
Copy,
Debug,
Eq, // Hash,
PartialEq,
Serialize,
Deserialize,
)]
#[derive(Clone, Copy, Debug, Eq, PartialEq, Serialize, Deserialize)]
pub struct Nullifier(#[serde(with = "serde_helpers::Base")] pallas::Base);
impl From<[u8; 32]> for Nullifier {