From cfc60936cebea07164f829c97fd54cc13d3c0c41 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Fri, 28 Aug 2020 00:30:02 -0400 Subject: [PATCH] Little more detail to sapling::note::EncryptedNote docstring --- zebra-chain/src/sapling/note/ciphertexts.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zebra-chain/src/sapling/note/ciphertexts.rs b/zebra-chain/src/sapling/note/ciphertexts.rs index 47f9309d7..b7289190b 100644 --- a/zebra-chain/src/sapling/note/ciphertexts.rs +++ b/zebra-chain/src/sapling/note/ciphertexts.rs @@ -6,6 +6,8 @@ use proptest::{arbitrary::any, prelude::*}; use crate::serialization::{serde_helpers, SerializationError, ZcashDeserialize, ZcashSerialize}; /// A ciphertext component for encrypted output notes. +/// +/// Corresponds to the Sapling 'encCiphertext's #[derive(Deserialize, Serialize)] pub struct EncryptedNote(#[serde(with = "serde_helpers::BigArray")] pub [u8; 580]);