Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

chore: fix some typos in comment #7601

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
8 changes: 4 additions & 4 deletions libraries/math-example/src/instruction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub enum MathInstruction {
U64Multiply {
/// The multiplicand
multiplicand: u64,
/// The multipier
/// The multiplier
multiplier: u64,
},
/// Divide two u64 values
Expand All @@ -58,7 +58,7 @@ pub enum MathInstruction {
F32Multiply {
/// The multiplicand
multiplicand: f32,
/// The multipier
/// The multiplier
multiplier: f32,
},
/// Divide two float values
Expand Down Expand Up @@ -113,7 +113,7 @@ pub enum MathInstruction {
U128Multiply {
/// The multiplicand
multiplicand: u128,
/// The multipier
/// The multiplier
multiplier: u128,
},
/// Divide two u128 values
Expand All @@ -131,7 +131,7 @@ pub enum MathInstruction {
F64Multiply {
/// The multiplicand
multiplicand: f64,
/// The multipier
/// The multiplier
multiplier: f64,
},
/// Divide two f64 values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ pub fn confidential_mint_with_split_proofs(
) -> Result<Vec<Instruction>, ProgramError> {
check_program_account(token_program_id)?;
let mut accounts = vec![AccountMeta::new(*token_account, false)];
// we only need write lock to adjust confidential suppy on
// we only need write lock to adjust confidential supply on
// mint if a value for supply_elgamal_pubkey has been set
if supply_elgamal_pubkey.is_some() {
accounts.push(AccountMeta::new(*mint, false));
Expand Down