Function spl_governance::state::realm::get_realm_data_for_authority[][src]

pub fn get_realm_data_for_authority(
    program_id: &Pubkey,
    realm_info: &AccountInfo<'_>,
    realm_authority: &Pubkey
) -> Result<Realm, ProgramError>
Expand description

Deserializes account and checks the given authority is Realm’s authority