From 6ab7e658f30aaf22db217187ef493b315d53dcd5 Mon Sep 17 00:00:00 2001 From: Jon C Date: Thu, 4 Apr 2024 13:19:35 +0200 Subject: [PATCH] Revert "single-pool: Allow stake config to be anything in tests (#6543)" (#6544) This reverts commit b32ab740bf536e3867186ec11700c1be355f16f9. --- single-pool/program/tests/accounts.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/single-pool/program/tests/accounts.rs b/single-pool/program/tests/accounts.rs index 4caad94e211..d6276be2639 100644 --- a/single-pool/program/tests/accounts.rs +++ b/single-pool/program/tests/accounts.rs @@ -157,12 +157,6 @@ async fn fail_account_checks(test_mode: TestMode) { if instruction_account.pubkey == accounts.alice.pubkey() { continue; } - // stake config address can also be arbitrary. Remove all usage of - // `stake::config` with the upgrade to 2.0 - #[allow(deprecated)] - if instruction_account.pubkey == stake::config::id() { - continue; - } let prev_pubkey = instruction_account.pubkey; instruction_account.pubkey = Pubkey::new_unique();