Update lib.rs

This commit is contained in:
Helen Grachtz 2025-03-24 21:48:47 +03:00 committed by GitHub
parent 14226dbddc
commit 287f8b9baf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ pub struct AppendMerkleTree<E: HashElement, A: Algorithm<E>> {
/// `revert_to` can reset the state correctly when needed.
min_depth: Option<usize>,
/// Used to compute the correct padding hash.
/// 0 for `first_chunk_merkle` and 10 for not-first `last_chunk_merkle`.
/// 0 for `pora_chunk_merkle` and 10 for not-first `last_chunk_merkle`.
leaf_height: usize,
_a: PhantomData<A>,
}