pub fn validate_buffer_pda(
program_id: &Address,
buffer: &AccountView,
mint: &Address,
bump: u8,
) -> Result<(), ProgramError>Expand description
Confirm buffer matches the derived buffer PDA for mint and bump.
pub fn validate_buffer_pda(
program_id: &Address,
buffer: &AccountView,
mint: &Address,
bump: u8,
) -> Result<(), ProgramError>Confirm buffer matches the derived buffer PDA for mint and bump.