Function mpl_bubblegum::utils::replace_leaf
source · pub fn replace_leaf<'info>(
seed: &Pubkey,
bump: u8,
compression_program: &AccountInfo<'info>,
authority: &AccountInfo<'info>,
merkle_tree: &AccountInfo<'info>,
log_wrapper: &AccountInfo<'info>,
remaining_accounts: &[AccountInfo<'info>],
root_node: Node,
previous_leaf: Node,
new_leaf: Node,
index: u32
) -> Result<()>