parent
3b48fa09d3
commit
0a5e952485
|
@ -12,7 +12,7 @@ pub fn process_instruction(
|
||||||
accounts: &[AccountInfo],
|
accounts: &[AccountInfo],
|
||||||
_instruction_data: &[u8],
|
_instruction_data: &[u8],
|
||||||
) -> ProgramResult {
|
) -> ProgramResult {
|
||||||
// Create in iterator to safety reference accounts in the slice
|
// Create an iterator to safely reference accounts in the slice
|
||||||
let account_info_iter = &mut accounts.iter();
|
let account_info_iter = &mut accounts.iter();
|
||||||
|
|
||||||
// As part of the program specification the first account is the source
|
// As part of the program specification the first account is the source
|
||||||
|
|
Loading…
Reference in New Issue