Skip to content

Commit 85880a4

Browse files
authored
fix: correct typos in decimal constructor docs and pubkey conversion comment (#1784)
* Update decimal.ts * Update pubkey.ts
1 parent bea1ba0 commit 85880a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/math/src/decimal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class Decimal {
6060
}
6161

6262
/**
63-
* Creates a Decimal with value 0.0 and the given number of fractial digits.
63+
* Creates a Decimal with value 0.0 and the given number of fractional digits.
6464
*
6565
* Fractional digits are not relevant for the value but needed to be able
6666
* to perform arithmetic operations with other decimals.
@@ -71,7 +71,7 @@ export class Decimal {
7171
}
7272

7373
/**
74-
* Creates a Decimal with value 1.0 and the given number of fractial digits.
74+
* Creates a Decimal with value 1.0 and the given number of fractional digits.
7575
*
7676
* Fractional digits are not relevant for the value but needed to be able
7777
* to perform arithmetic operations with other decimals.

packages/proto-signing/src/pubkey.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { Any } from "cosmjs-types/google/protobuf/any";
1717

1818
/**
1919
* Takes a pubkey in the Amino JSON object style (type/value wrapper)
20-
* and convertes it into a protobuf `Any`.
20+
* and converts it into a protobuf `Any`.
2121
*
2222
* This is the reverse operation to `decodePubkey`.
2323
*/

0 commit comments

Comments
 (0)