Allow passing of program_ids to programs (#8639)
This commit is contained in:
@ -332,10 +332,6 @@ impl MessageProcessor {
|
||||
.ok_or(TransactionError::InvalidAccountIndex)?;
|
||||
let executable_accounts = &loaders[executable_index];
|
||||
|
||||
// TODO: panics on an index out of bounds if an executable
|
||||
// account is also included as a regular account for an instruction, because the
|
||||
// executable account is not passed in as part of the accounts slice
|
||||
// See test: bank::tests::test_transaction_with_program_ids_passed_to_programs
|
||||
let program_accounts: Vec<_> = instruction
|
||||
.accounts
|
||||
.iter()
|
||||
|
Reference in New Issue
Block a user