diff --git a/src/constants.rs b/src/constants.rs index 39fd3df50..8a9b76f23 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -7,7 +7,7 @@ pub use fixed_bases::{NullifierK, OrchardFixedBases, OrchardFixedBasesFull, Valu pub use sinsemilla::{OrchardCommitDomains, OrchardHashDomains}; /// $\mathsf{MerkleDepth^{Orchard}}$ -pub(crate) const MERKLE_DEPTH_ORCHARD: usize = 32; +pub const MERKLE_DEPTH_ORCHARD: usize = 32; /// The Pallas scalar field modulus is $q = 2^{254} + \mathsf{t_q}$. /// diff --git a/src/lib.rs b/src/lib.rs index d30e9c834..005253e97 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -38,5 +38,6 @@ pub use action::Action; pub use address::Address; pub use bundle::Bundle; pub use circuit::Proof; +pub use constants::MERKLE_DEPTH_ORCHARD as NOTE_COMMITMENT_TREE_DEPTH; pub use note::Note; pub use tree::Anchor;