Macro vipers::assert_program [−][src]
macro_rules! assert_program {
($account : expr, $program_id : tt $(,) ?) => { ... };
}
Expand description
Asserts that the given account matches the program id.
macro_rules! assert_program {
($account : expr, $program_id : tt $(,) ?) => { ... };
}
Asserts that the given account matches the program id.