Skip to content

Commit 131e4b8

Browse files
committed
docs: fixed typos (#4912)
1 parent 8f63c37 commit 131e4b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src.ts/providers/formatting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface BlockParams {
5252

5353
/**
5454
* For proof-of-work networks, the difficulty target is used to
55-
* adjust the difficulty in mining to ensure a expected block rate.
55+
* adjust the difficulty in mining to ensure an expected block rate.
5656
*/
5757
difficulty: bigint;
5858

src.ts/utils/fixednumber.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function toString(val: bigint, decimals: number) {
212212
* If operations are performed that cause a value to become too small
213213
* (close to zero), the value loses precison and is said to //underflow//.
214214
*
215-
* For example, an value with 1 decimal place may store a number as small
215+
* For example, a value with 1 decimal place may store a number as small
216216
* as ``0.1``, but the value of ``0.1 / 2`` is ``0.05``, which cannot fit
217217
* into 1 decimal place, so underflow occurs which means precision is lost
218218
* and the value becomes ``0``.

0 commit comments

Comments
 (0)