This commit is contained in:
Helen 2025-02-12 12:55:21 +03:00
parent d230105b98
commit 608195f536
No known key found for this signature in database
GPG Key ID: 08AC644C62F9DB88

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 `pora_chunk_merkle` and 10 for not-first `last_chunk_merkle`.
/// 0 for `first_chunk_merkle` and 10 for not-first `last_chunk_merkle`.
leaf_height: usize,
_a: PhantomData<A>,
}