Skip to content

Commit

Permalink
Fixed typo in error message for invalid quorum weight (#4149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 1, 2024
1 parent 7b74ed7 commit 45b9b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/providers/provider-fallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export class FallbackProvider extends AbstractProvider {
this.eventWorkers = 1;

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

get providerConfigs(): Array<FallbackProviderState> {
Expand Down

0 comments on commit 45b9b9c

Please sign in to comment.