Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
norwnd committed Dec 8, 2023
1 parent 672cb9e commit 38c85c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/program.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ fn process_program_upgrade(
tx.try_sign(signers, blockhash)?;
let result = rpc_client.send_and_confirm_transaction_with_spinner(&tx)?;
let program_id = CliProgramId {
program_id: result.to_string(),
program_id: program_pubkey.to_string(),
};
Ok(config.output_format.formatted_string(&program_id))
}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/cli/deploy-a-program.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ Note that only the `upgrade` command can be performed in offline mode. The initi

Assuming your program has been deployed and its upgrade authority has been changed to an
offline signer,
a typical setup would consist of 3 different signers (pairs of keys):
a typical setup would consist of 2 different signers:
- online signer (fee payer for uploading program buffer and upgrading program)
- offline signer (program upgrade authority)

Expand Down

0 comments on commit 38c85c2

Please sign in to comment.