Skip to content

Commit

Permalink
rename param in do_process_program_upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
norwnd committed Dec 7, 2023
1 parent ffdca12 commit a2a84f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ fn do_process_program_upgrade(
program_len: usize,
min_rent_exempt_program_data_balance: u64,
fee_payer_signer: &dyn Signer,
program_pubkey: &Pubkey,
program_id: &Pubkey,
upgrade_authority: &dyn Signer,
buffer_pubkey: &Pubkey,
buffer_signer: Option<&dyn Signer>,
Expand Down Expand Up @@ -2209,7 +2209,7 @@ fn do_process_program_upgrade(
// Create and add final message
let final_message = Message::new_with_blockhash(
&[bpf_loader_upgradeable::upgrade(
program_pubkey,
program_id,
buffer_pubkey,
&upgrade_authority.pubkey(),
&fee_payer_signer.pubkey(),
Expand Down Expand Up @@ -2244,7 +2244,7 @@ fn do_process_program_upgrade(
)?;

let program_id = CliProgramId {
program_id: program_pubkey.to_string(),
program_id: program_id.to_string(),
};
Ok(config.output_format.formatted_string(&program_id))
}
Expand Down

0 comments on commit a2a84f8

Please sign in to comment.