Skip to content

Commit

Permalink
chore: fix some comments (solana-labs#7564)
Browse files Browse the repository at this point in the history
Signed-off-by: goodactive <[email protected]>
  • Loading branch information
goodactive authored Dec 6, 2024
1 parent a3e484f commit 77821a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion binary-option/client/binary_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __init__(self, cfg):

def initialize(self, api_endpoint, escrow_mint, decimals=2, skip_confirmation=True):
msg = ""
# Initialize Clinet
# Initialize Client
client = Client(api_endpoint)
msg += "Initialized client"
# Create account objects
Expand Down
2 changes: 1 addition & 1 deletion token-lending/program/src/state/reserve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ impl ReserveFees {
}
}

/// Calculate fees exlusive or inclusive of an amount
/// Calculate fees exclusive or inclusive of an amount
pub enum FeeCalculation {
/// Fee added to amount: fee = rate * amount
Exclusive,
Expand Down
2 changes: 1 addition & 1 deletion token/confidential-transfer/proof-extraction/src/burn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl BurnProofContext {
range_proof_context: &BatchedRangeProofContext,
) -> Result<Self, TokenProofExtractionError> {
// The equality proof context consists of the source ElGamal public key, the new
// source available balance ciphertext, and the new source avaialble
// source available balance ciphertext, and the new source available
// balance commitment. The public key should be checked with ciphertext
// validity proof context for consistency and the commitment should be
// checked with range proof for consistency. The public key and
Expand Down
2 changes: 1 addition & 1 deletion token/confidential-transfer/proof-extraction/src/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl MintProofContext {

// The range proof context consists of the Pedersen commitments and bit-lengths
// for which the range proof is proved. The commitments must consist of
// two commitments pertaining to the the
// two commitments pertaining to the
// low bits of the mint amount, and high bits of the mint
// amount. These commitments must be checked for bit lengths `16` and
// and `32`.
Expand Down

0 comments on commit 77821a3

Please sign in to comment.