From e42e7fd692a9777f0b3f25b460c2038fabbe4a2c Mon Sep 17 00:00:00 2001 From: Ashwin Sekar Date: Fri, 28 Jun 2024 12:01:13 -0400 Subject: [PATCH] vote: remove deprecated ixs (#1906) --- sdk/program/src/vote/instruction.rs | 43 ----------------------------- 1 file changed, 43 deletions(-) diff --git a/sdk/program/src/vote/instruction.rs b/sdk/program/src/vote/instruction.rs index 2c4cb4157f5721..b5d43b5c24c602 100644 --- a/sdk/program/src/vote/instruction.rs +++ b/sdk/program/src/vote/instruction.rs @@ -257,49 +257,6 @@ impl<'a> Default for CreateVoteAccountConfig<'a> { } } -#[deprecated( - since = "1.16.0", - note = "Please use `create_account_with_config()` instead." -)] -pub fn create_account( - from_pubkey: &Pubkey, - vote_pubkey: &Pubkey, - vote_init: &VoteInit, - lamports: u64, -) -> Vec { - create_account_with_config( - from_pubkey, - vote_pubkey, - vote_init, - lamports, - CreateVoteAccountConfig::default(), - ) -} - -#[deprecated( - since = "1.16.0", - note = "Please use `create_account_with_config()` instead." -)] -pub fn create_account_with_seed( - from_pubkey: &Pubkey, - vote_pubkey: &Pubkey, - base: &Pubkey, - seed: &str, - vote_init: &VoteInit, - lamports: u64, -) -> Vec { - create_account_with_config( - from_pubkey, - vote_pubkey, - vote_init, - lamports, - CreateVoteAccountConfig { - with_seed: Some((base, seed)), - ..CreateVoteAccountConfig::default() - }, - ) -} - pub fn create_account_with_config( from_pubkey: &Pubkey, vote_pubkey: &Pubkey,