Skip to content

Commit 45b9b9c

Browse files
committed
Fixed typo in error message for invalid quorum weight (#4149)
1 parent 7b74ed7 commit 45b9b9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src.ts/providers/provider-fallback.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ export class FallbackProvider extends AbstractProvider {
411411
this.eventWorkers = 1;
412412

413413
assertArgument(this.quorum <= this.#configs.reduce((a, c) => (a + c.weight), 0),
414-
"quorum exceed provider wieght", "quorum", this.quorum);
414+
"quorum exceed provider weight", "quorum", this.quorum);
415415
}
416416

417417
get providerConfigs(): Array<FallbackProviderState> {

0 commit comments

Comments
 (0)