check_program_account

Function check_program_account 

Source
pub fn check_program_account(
    program_id: &Pubkey,
    check_f: fn(&Pubkey) -> bool,
) -> ProgramResult
Expand description

Checks that the supplied program ID is the correct one