Function mpl_utils::assert_derivation_with_bump
source · pub fn assert_derivation_with_bump(
program_id: &Pubkey,
account: &AccountInfo<'_>,
path: &[&[u8]],
error: impl Into<ProgramError>
) -> Result<(), ProgramError>