Function write_chunks

Source
pub fn write_chunks(
    tree: &mut MerkleTree<{ TREE_HEIGHT }>,
    segment_id: u64,
    segment: &Segment,
) -> ProgramResult
Expand description

Helper: write chunks to the Merkle tree