Function spl_governance::state::proposal::assert_valid_proposal_options
source · pub fn assert_valid_proposal_options(
options: &[String],
vote_type: &VoteType
) -> Result<(), ProgramError>
Expand description
Assert options to create proposal are valid for the Proposal vote_type