pub fn initialize_account<S: BuildHasher>(
    invoke_context: &InvokeContext<'_>,
    instruction_context: &InstructionContext,
    signers: &HashSet<Pubkey, S>,
    vote_account_index: usize,
    vote_init: &VoteInit
) -> Result<(), InstructionError>
Expand description

Initialize the vote_state for a vote account Assumes that the account is being init as part of a account creation or balance transfer and that the transaction must be signed by the staker’s keys