hpl_toolkit::compression

Function append_leaf

Source
pub fn append_leaf<'info>(
    leaf: Node,
    authority: &AccountInfo<'info>,
    merkle_tree: &AccountInfo<'info>,
    compression_program: &Program<'info, SplAccountCompression>,
    noop: &Program<'info, Noop>,
    signer_seeds: Option<&[&[&[u8]]; 1]>,
) -> Result<()>