fix deref

This commit is contained in:
Peter Zhang 2024-10-27 13:05:41 +08:00
parent 2fbea8ef70
commit 4906fd6078

View File

@ -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,