Function spl_governance::state::realm::assert_is_valid_realm
source · [−]pub fn assert_is_valid_realm(
program_id: &Pubkey,
realm_info: &AccountInfo<'_>
) -> Result<(), ProgramError>
Expand description
Checks whether the Realm account exists, is initialized and owned by Governance program