Skip to content

Commit 0c1d60d

Browse files
authored
Fix - Reformulates code comment in natural language (#6337)
Reformulates code comment in natural language.
1 parent d4b2b25 commit 0c1d60d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programs/bpf_loader/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ fn common_extend_program(
13681368
const PROGRAM_DATA_ACCOUNT_INDEX: IndexOfAccount = 0;
13691369
const PROGRAM_ACCOUNT_INDEX: IndexOfAccount = 1;
13701370
const AUTHORITY_ACCOUNT_INDEX: IndexOfAccount = 2;
1371-
// let system_program_account_index = if check_authority { 3 } else { 2 };
1371+
// The unused `system_program_account_index` is 3 if `check_authority` and 2 otherwise.
13721372
let optional_payer_account_index = if check_authority { 4 } else { 3 };
13731373

13741374
if additional_bytes == 0 {

0 commit comments

Comments
 (0)