[][src]Function solana_vote_api::vote_state::initialize_account

pub fn initialize_account(
    vote_account: &mut KeyedAccount,
    node_pubkey: &Pubkey,
    commission: u8
) -> Result<(), InstructionError>

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