File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ pub fn process_batch(mut accounts: &[AccountInfo], mut instruction_data: &[u8])
3939 inner_process_instruction (
4040 accounts. get_unchecked ( ..expected_accounts) ,
4141 instruction_data. get_unchecked ( IX_HEADER_SIZE ..data_offset) ,
42- //*instruction_data.get_unchecked(IX_HEADER_SIZE),
4342 ) ?;
4443 }
4544
@@ -48,10 +47,6 @@ pub fn process_batch(mut accounts: &[AccountInfo], mut instruction_data: &[u8])
4847 break ;
4948 }
5049
51- // SAFETY: Both `accounts` and `instruction_data` will have at least the
52- // expected number of accounts and the data offset, respectively.
53- //accounts = unsafe { accounts.get_unchecked(expected_accounts..) };
54- //instruction_data = unsafe { instruction_data.get_unchecked(data_offset..) };
5550 accounts = & accounts[ expected_accounts..] ;
5651 instruction_data = & instruction_data[ data_offset..] ;
5752 }
You can’t perform that action at this time.
0 commit comments