v0.2.13-pre.005-fix.001
This commit is contained in:
@@ -145,11 +145,8 @@ fn instruction_limit_errors_do_not_echo_hostile_payload_or_account_material() {
|
||||
}
|
||||
let hostile_account = meta(0xE1, true);
|
||||
let hostile_account_debug = std::format!("{hostile_account:?}");
|
||||
let account_error = crate::ProgramInstruction::try_new(
|
||||
program_id,
|
||||
std::vec![hostile_account; crate::MAX_PROGRAM_INSTRUCTION_ACCOUNTS + 1],
|
||||
std::vec::Vec::new(),
|
||||
);
|
||||
let account_error =
|
||||
crate::ProgramInstruction::try_new(program_id, std::vec![hostile_account; crate::MAX_PROGRAM_INSTRUCTION_ACCOUNTS + 1], std::vec::Vec::new());
|
||||
assert!(account_error.is_err());
|
||||
let account_error = match account_error {
|
||||
std::result::Result::Err(value) => value,
|
||||
|
||||
Reference in New Issue
Block a user