check_program_account

Function check_program_account 

Source
pub fn check_program_account(
    spl_token_program_id: &Address,
) -> Result<(), ProgramError>
Expand description

Checks that the supplied program ID is the correct one for SPL-token