Function spl_governance::state::vote_record::get_vote_record_data[][src]

pub fn get_vote_record_data(
    program_id: &Pubkey,
    vote_record_info: &AccountInfo<'_>
) -> Result<VoteRecord, ProgramError>
Expand description

Deserializes VoteRecord account and checks owner program