Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 6ab7e65

Browse files
authored
Revert "single-pool: Allow stake config to be anything in tests (#6543)" (#6544)
This reverts commit b32ab74.
1 parent 3625504 commit 6ab7e65

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

single-pool/program/tests/accounts.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,6 @@ async fn fail_account_checks(test_mode: TestMode) {
157157
if instruction_account.pubkey == accounts.alice.pubkey() {
158158
continue;
159159
}
160-
// stake config address can also be arbitrary. Remove all usage of
161-
// `stake::config` with the upgrade to 2.0
162-
#[allow(deprecated)]
163-
if instruction_account.pubkey == stake::config::id() {
164-
continue;
165-
}
166160

167161
let prev_pubkey = instruction_account.pubkey;
168162
instruction_account.pubkey = Pubkey::new_unique();

0 commit comments

Comments
 (0)