Compare commits

..

1 Commits

Author SHA1 Message Date
Helen Grachtz
e247ecfa71
Merge 14226dbddc into 74074dfa2f 2025-03-24 17:05:08 +08:00

View File

@ -34,7 +34,7 @@ pub struct AppendMerkleTree<E: HashElement, A: Algorithm<E>> {
/// `revert_to` can reset the state correctly when needed. /// `revert_to` can reset the state correctly when needed.
min_depth: Option<usize>, min_depth: Option<usize>,
/// Used to compute the correct padding hash. /// 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, leaf_height: usize,
_a: PhantomData<A>, _a: PhantomData<A>,
} }