Skip to content

Commit 419a984

Browse files
committed
docs: fixed typos
1 parent 48cdcef commit 419a984

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src.ts/providers/provider-browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class BrowserProvider extends JsonRpcApiPollingProvider {
5353
#request: (method: string, params: Array<any> | Record<string, any>) => Promise<any>;
5454

5555
/**
56-
* Connnect to the %%ethereum%% provider, optionally forcing the
56+
* Connect to the %%ethereum%% provider, optionally forcing the
5757
* %%network%%.
5858
*/
5959
constructor(ethereum: Eip1193Provider, network?: Networkish, _options?: BrowserProviderOptions) {

src.ts/utils/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ export function assertArgumentCount(count: number, expectedCount: number, messag
731731
if (message == null) { message = ""; }
732732
if (message) { message = ": " + message; }
733733

734-
assert(count >= expectedCount, "missing arguemnt" + message, "MISSING_ARGUMENT", {
734+
assert(count >= expectedCount, "missing argument" + message, "MISSING_ARGUMENT", {
735735
count: count,
736736
expectedCount: expectedCount
737737
});

0 commit comments

Comments
 (0)