Skip to main content

validate_buffer_pda

Function validate_buffer_pda 

Source
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.