pub fn process_proof_location<T, U>(
accounts: &mut Vec<AccountMeta>,
expected_instruction_offset: &mut i8,
proof_instructions: &mut Vec<Instruction>,
proof_location: ProofLocation<'_, T>,
push_sysvar_to_accounts: bool,
proof_instruction_type: ProofInstruction,
) -> Result<i8, ProgramError>
Expand description
Processes a proof location for instruction creation. Adds relevant accounts to supplied account vector
If the proof location is an instruction offset the corresponding proof
instruction is created and added to the proof_instructions
vector.