Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion programs/bpf_loader/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ fn common_extend_program(
const PROGRAM_DATA_ACCOUNT_INDEX: IndexOfAccount = 0;
const PROGRAM_ACCOUNT_INDEX: IndexOfAccount = 1;
const AUTHORITY_ACCOUNT_INDEX: IndexOfAccount = 2;
// let system_program_account_index = if check_authority { 3 } else { 2 };
// The unused `system_program_account_index` is 3 if `check_authority` and 2 otherwise.
let optional_payer_account_index = if check_authority { 4 } else { 3 };

if additional_bytes == 0 {
Expand Down
Loading