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:
parent
70bf4f80fb
commit
39b8e9859f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue