From 53e008b278dbf36a4f3a89d9e69cda02b2670953 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Mon, 9 Aug 2021 21:28:42 +0100 Subject: [PATCH] Use `EphemeralKeyBytes` type in place of `[u8; 32]` Extracted from: https://github.com/zcash/librustzcash/commit/279a8b6bb6770c5a309b0d67d099e7a7f91f9dd8 --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 6131cda..a18964b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -33,6 +33,7 @@ impl AsRef<[u8]> for OutgoingCipherKey { } } +#[derive(Clone, Debug)] pub struct EphemeralKeyBytes(pub [u8; 32]); impl AsRef<[u8]> for EphemeralKeyBytes {