solana_sdk::vote::instruction

Function create_account

source
pub fn create_account(
    from_pubkey: &Pubkey,
    vote_pubkey: &Pubkey,
    vote_init: &VoteInit,
    lamports: u64,
) -> Vec<Instruction>
👎Deprecated since 1.16.0: Please use create_account_with_config() instead.