Fix publicity for SaplingNoteTreeRootHash
This commit is contained in:
parent
8ff4139c1f
commit
049998c751
|
@ -28,7 +28,7 @@ pub struct SaplingNoteCommitmentTree;
|
||||||
/// this block. A root of a note commitment tree is associated with
|
/// this block. A root of a note commitment tree is associated with
|
||||||
/// each treestate.
|
/// each treestate.
|
||||||
#[derive(Clone, Debug, Default, Eq, PartialEq)]
|
#[derive(Clone, Debug, Default, Eq, PartialEq)]
|
||||||
pub struct SaplingNoteTreeRootHash([u8; 32]);
|
pub struct SaplingNoteTreeRootHash(pub [u8; 32]);
|
||||||
|
|
||||||
impl From<SaplingNoteCommitmentTree> for SaplingNoteTreeRootHash {
|
impl From<SaplingNoteCommitmentTree> for SaplingNoteTreeRootHash {
|
||||||
fn from(_tree: SaplingNoteCommitmentTree) -> Self {
|
fn from(_tree: SaplingNoteCommitmentTree) -> Self {
|
||||||
|
|
Loading…
Reference in New Issue