orchard: DiversifierKey is a newtype refinement of 32 bytes

This commit is contained in:
Deirdre Connolly 2021-03-08 15:45:56 -05:00 committed by Deirdre Connolly
parent fd29708ecc
commit de051c727c
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ impl FromStr for FullViewingKey {
}
#[derive(Copy, Clone, PartialEq)]
pub struct DiversifierKey();
pub struct DiversifierKey([u8; 32]);
/// An ephemeral public key for Orchard key agreement.
///