hpl_toolkit::compression

Function verify_leaf

Source
pub fn verify_leaf<'info>(
    root: Node,
    leaf: Node,
    index: u32,
    merkle_tree: &AccountInfo<'info>,
    compression_program: &Program<'info, SplAccountCompression>,
    remaining_accounts: Vec<AccountInfo<'info>>,
) -> Result<()>