Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Mar 22, 2024
1 parent faf0658 commit ae53630
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/ProviderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ae53630

Please sign in to comment.