Add test to enforce that program id account info for CPI is optional (#22069)
* Update tests to demonstrate that program id account info for CPI is optional * Clean up comments that say that program id account info is required
This commit is contained in:
@ -54,7 +54,7 @@ fn process_instruction(
|
||||
&[instruction_data[0], instruction_data[1], 1],
|
||||
vec![AccountMeta::new_readonly(instructions::id(), false)],
|
||||
),
|
||||
accounts,
|
||||
&[instructions_account.clone()],
|
||||
)?;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user