fix Instruction and CompiledInstruction field names (#4895)
* s/program_ids_index/program_id for Instruction * s/program_ids_index/program_id_index for CompiledInstruction
This commit is contained in:
@@ -224,7 +224,7 @@ impl Transaction {
|
||||
pub fn verify_refs(&self) -> bool {
|
||||
let message = self.message();
|
||||
for instruction in &message.instructions {
|
||||
if (instruction.program_ids_index as usize) >= message.account_keys.len() {
|
||||
if (instruction.program_id_index as usize) >= message.account_keys.len() {
|
||||
return false;
|
||||
}
|
||||
for account_index in &instruction.accounts {
|
||||
|
Reference in New Issue
Block a user