From 45b9b9c9322bf20feaf892d948bcfb8db8932877 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Tue, 30 Apr 2024 21:10:01 -0400 Subject: [PATCH] Fixed typo in error message for invalid quorum weight (#4149) --- src.ts/providers/provider-fallback.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src.ts/providers/provider-fallback.ts b/src.ts/providers/provider-fallback.ts index c96704ee0b..342359a58b 100644 --- a/src.ts/providers/provider-fallback.ts +++ b/src.ts/providers/provider-fallback.ts @@ -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 {