Skip to content

Commit d95256e

Browse files
authored
chore: improve code comments clarity (#1925)
Signed-off-by: stringscut <stringscut@outlook.jp>
1 parent 3927027 commit d95256e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/amino/src/encoding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function encodeSecp256k1Pubkey(pubkey: Uint8Array): Secp256k1Pubkey {
2828
}
2929

3030
/**
31-
* Takes an Edd25519 public key as raw bytes and returns the Amino JSON
31+
* Takes an Ed25519 public key as raw bytes and returns the Amino JSON
3232
* representation of it (the type/value wrapper object).
3333
*/
3434
export function encodeEd25519Pubkey(pubkey: Uint8Array): Ed25519Pubkey {

packages/amino/src/secp256k1hdwallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export class Secp256k1HdWallet implements OfflineAminoSigner {
250250
private readonly secret: EnglishMnemonic;
251251
/** BIP39 seed */
252252
private readonly seed: Uint8Array;
253-
/** Derivation instruction */
253+
/** Derivation instructions */
254254
private readonly accounts: readonly DerivationInfo[];
255255

256256
protected constructor(mnemonic: EnglishMnemonic, options: Secp256k1HdWalletConstructorOptions) {

packages/faucet/src/faucet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class Faucet {
9595
await this.send(job);
9696
}
9797

98-
/** Returns a list to token denoms which are configured */
98+
/** Returns a list of token denoms which are configured */
9999
public configuredTokens(): string[] {
100100
return Array.from(this.tokenConfig.bankTokens);
101101
}

packages/math/src/decimal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export class Decimal {
182182
* This allows you to perform arithmetic operations given two decimals
183183
* with different fractional digits by normalizing them.
184184
*
185-
* When new fractional digis is smaller than the original value, the amount
185+
* When new fractional digits is smaller than the original value, the amount
186186
* is truncated (not rounded!).
187187
*/
188188
public adjustFractionalDigits(newFractionalDigits: number): Decimal {

0 commit comments

Comments
 (0)