From 325e3225ac8db18ee1c25d4cfe70f8276a5d9a92 Mon Sep 17 00:00:00 2001 From: Joseph Zhao Date: Mon, 20 Jan 2025 15:13:32 +0800 Subject: [PATCH] remove config --- program/src/instruction.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/program/src/instruction.rs b/program/src/instruction.rs index 83b08ca..1aaddbd 100644 --- a/program/src/instruction.rs +++ b/program/src/instruction.rs @@ -182,7 +182,6 @@ pub fn initialize_pool(program_id: &Pubkey, vote_account_address: &Pubkey) -> In AccountMeta::new_readonly(sysvar::clock::id(), false), AccountMeta::new_readonly(sysvar::stake_history::id(), false), #[allow(deprecated)] - AccountMeta::new_readonly(stake::config::id(), false), AccountMeta::new_readonly(system_program::id(), false), AccountMeta::new_readonly(spl_token::id(), false), AccountMeta::new_readonly(stake::program::id(), false), @@ -211,7 +210,6 @@ pub fn reactivate_pool_stake(program_id: &Pubkey, vote_account_address: &Pubkey) AccountMeta::new_readonly(sysvar::clock::id(), false), AccountMeta::new_readonly(sysvar::stake_history::id(), false), #[allow(deprecated)] - AccountMeta::new_readonly(stake::config::id(), false), AccountMeta::new_readonly(stake::program::id(), false), ];