From ae536305a6628cea84a6a54cb396b03629aff557 Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Fri, 22 Mar 2024 10:52:25 +0100 Subject: [PATCH] lint --- src/utils/ProviderUtils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils/ProviderUtils.ts b/src/utils/ProviderUtils.ts index 57f4e8a42..4ae00e7f8 100644 --- a/src/utils/ProviderUtils.ts +++ b/src/utils/ProviderUtils.ts @@ -53,8 +53,7 @@ class RateLimitedProvider extends ethers.providers.StaticJsonRpcProvider { // request. This queue sends out requests concurrently, but stops once the concurrency limit is reached. The // maxConcurrency is configured here. this.queue = createQueue(async ({ sendArgs, resolve, reject }: RateLimitTask) => { - await this - .wrapSendWithLog(...sendArgs) + await this.wrapSendWithLog(...sendArgs) .then(resolve) .catch(reject); }, maxConcurrency);