Skip to content

Commit 07aea8f

Browse files
HaoranYiHaoranYi
authored andcommitted
fix a test
1 parent 25216d2 commit 07aea8f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

svm/src/program_loader.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use {
1111
account::{AccountSharedData, ReadableAccount},
1212
account_utils::StateMut,
1313
bpf_loader, bpf_loader_deprecated,
14-
bpf_loader_upgradeable::{self, UpgradeableLoaderState},
14+
bpf_loader_upgradeable::UpgradeableLoaderState,
1515
clock::Slot,
1616
instruction::InstructionError,
1717
loader_v4::{self, LoaderV4State, LoaderV4Status},
@@ -93,12 +93,6 @@ pub(crate) fn load_program_accounts<CB: TransactionProcessingCallback>(
9393
return Some(ProgramAccountLoadResult::ProgramOfLoaderV2(program_account));
9494
}
9595

96-
assert!(
97-
bpf_loader_upgradeable::check_id(program_account.owner()),
98-
"unexpected program account owner {}",
99-
program_account.owner(),
100-
);
101-
10296
if let Ok(UpgradeableLoaderState::Program {
10397
programdata_address,
10498
}) = program_account.state()

0 commit comments

Comments
 (0)