Function spl_governance::state::proposal_transaction::get_proposal_transaction_data_for_proposal
source · [−]pub fn get_proposal_transaction_data_for_proposal(
program_id: &Pubkey,
proposal_transaction_info: &AccountInfo<'_>,
proposal: &Pubkey
) -> Result<ProposalTransactionV2, ProgramError>
Expand description
Deserializes and returns ProposalTransaction account and checks it belongs to the given Proposal