We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GenericDigest
1 parent 22c6758 commit aa4a6cfCopy full SHA for aa4a6cf
1 file changed
src/crypto/merkle_tree/digest.rs
@@ -12,7 +12,7 @@ use ark_serialize::{CanonicalDeserialize, CanonicalSerialize};
12
/// # Type Parameters
13
/// - `N`: The size of the digest in bytes (e.g., 32 for a 256-bit hash).
14
#[derive(Clone, Debug, Eq, PartialEq, Hash, CanonicalSerialize, CanonicalDeserialize)]
15
-pub struct GenericDigest<const N: usize>(pub(crate) [u8; N]);
+pub struct GenericDigest<const N: usize>(pub [u8; N]);
16
17
impl<const N: usize> Default for GenericDigest<N> {
18
fn default() -> Self {
0 commit comments