Function assert_derivation_with_bump

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