Skip to content

Commit 1601985

Browse files
committed
Clean up comments
1 parent 51bc113 commit 1601985

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

p-token/src/processor/batch.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)