Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed Mar 24, 2023
1 parent b40f48b commit b72b9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/loader-v3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ pub fn process_instruction(invoke_context: &mut InvokeContext) -> Result<(), Ins
);
drop(program);
match &loaded_program.program {
LoadedProgramType::Invalid => Err(InstructionError::InvalidAccountData),
LoadedProgramType::Invalid(_) => Err(InstructionError::InvalidAccountData),
LoadedProgramType::Typed(executable) => execute(invoke_context, executable),
_ => Err(InstructionError::IncorrectProgramId),
}
Expand Down

0 comments on commit b72b9d3

Please sign in to comment.