From 049998c751003e2245d146175c400f8ca4590978 Mon Sep 17 00:00:00 2001 From: Henry de Valence Date: Fri, 20 Dec 2019 19:41:47 -0800 Subject: [PATCH] Fix publicity for SaplingNoteTreeRootHash --- zebra-chain/src/note_commitment_tree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra-chain/src/note_commitment_tree.rs b/zebra-chain/src/note_commitment_tree.rs index ac4faa45..8f1c2892 100644 --- a/zebra-chain/src/note_commitment_tree.rs +++ b/zebra-chain/src/note_commitment_tree.rs @@ -28,7 +28,7 @@ pub struct SaplingNoteCommitmentTree; /// this block. A root of a note commitment tree is associated with /// each treestate. #[derive(Clone, Debug, Default, Eq, PartialEq)] -pub struct SaplingNoteTreeRootHash([u8; 32]); +pub struct SaplingNoteTreeRootHash(pub [u8; 32]); impl From for SaplingNoteTreeRootHash { fn from(_tree: SaplingNoteCommitmentTree) -> Self {