orchard: DiversifierKey is a newtype refinement of 32 bytes
This commit is contained in:
parent
fd29708ecc
commit
de051c727c
|
|
@ -723,7 +723,7 @@ impl FromStr for FullViewingKey {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, PartialEq)]
|
#[derive(Copy, Clone, PartialEq)]
|
||||||
pub struct DiversifierKey();
|
pub struct DiversifierKey([u8; 32]);
|
||||||
|
|
||||||
/// An ephemeral public key for Orchard key agreement.
|
/// An ephemeral public key for Orchard key agreement.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue