mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-11-09 02:47:27 +00:00
Compare commits
2 Commits
e247ecfa71
...
35726e79ff
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35726e79ff | ||
|
|
287f8b9baf |
@ -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>,
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user