mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
fix deref
This commit is contained in:
parent
2fbea8ef70
commit
4906fd6078
@ -48,7 +48,7 @@ pub const COL_NUM: u32 = 9;
|
|||||||
const PAD_MAX_SIZE: usize = 1 << 20;
|
const PAD_MAX_SIZE: usize = 1 << 20;
|
||||||
|
|
||||||
static PAD_SEGMENT_ROOT: Lazy<H256> = Lazy::new(|| {
|
static PAD_SEGMENT_ROOT: Lazy<H256> = Lazy::new(|| {
|
||||||
*Merkle::new(
|
Merkle::new(
|
||||||
data_to_merkle_leaves(&[0; ENTRY_SIZE * PORA_CHUNK_SIZE]).unwrap(),
|
data_to_merkle_leaves(&[0; ENTRY_SIZE * PORA_CHUNK_SIZE]).unwrap(),
|
||||||
0,
|
0,
|
||||||
None,
|
None,
|
||||||
|
Loading…
Reference in New Issue
Block a user