We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0037bec commit fe1cfbeCopy full SHA for fe1cfbe
programs/bpf_loader/src/lib.rs
@@ -1368,7 +1368,7 @@ fn common_extend_program(
1368
const PROGRAM_DATA_ACCOUNT_INDEX: IndexOfAccount = 0;
1369
const PROGRAM_ACCOUNT_INDEX: IndexOfAccount = 1;
1370
const AUTHORITY_ACCOUNT_INDEX: IndexOfAccount = 2;
1371
- // 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.
1372
let optional_payer_account_index = if check_authority { 4 } else { 3 };
1373
1374
if additional_bytes == 0 {
0 commit comments