mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-02 22:45:41 +00:00
Update lib.rs
This commit is contained in:
parent
14226dbddc
commit
287f8b9baf
@ -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 `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,
|
leaf_height: usize,
|
||||||
_a: PhantomData<A>,
|
_a: PhantomData<A>,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user