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