Skip to content

Commit 6fd30db

Browse files
v2.2: Fix - Reformulates code comment in natural language (backport of #6337) (#6405)
Fix - Reformulates code comment in natural language (#6337) Reformulates code comment in natural language. (cherry picked from commit 0c1d60d) Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
1 parent 8211e91 commit 6fd30db

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
@@ -1377,7 +1377,7 @@ fn common_extend_program(
13771377
const PROGRAM_DATA_ACCOUNT_INDEX: IndexOfAccount = 0;
13781378
const PROGRAM_ACCOUNT_INDEX: IndexOfAccount = 1;
13791379
const AUTHORITY_ACCOUNT_INDEX: IndexOfAccount = 2;
1380-
// let system_program_account_index = if check_authority { 3 } else { 2 };
1380+
// The unused `system_program_account_index` is 3 if `check_authority` and 2 otherwise.
13811381
let optional_payer_account_index = if check_authority { 4 } else { 3 };
13821382

13831383
if additional_bytes == 0 {

0 commit comments

Comments
 (0)