From d35199bbeca1daea5b220f7cc64093e3780c02e4 Mon Sep 17 00:00:00 2001 From: tilacog Date: Thu, 28 Sep 2023 13:06:23 -0300 Subject: [PATCH] common: fix typo on variable name --- packages/indexer-common/src/subgraphs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/indexer-common/src/subgraphs.ts b/packages/indexer-common/src/subgraphs.ts index e199632b5..2ee8cc00f 100644 --- a/packages/indexer-common/src/subgraphs.ts +++ b/packages/indexer-common/src/subgraphs.ts @@ -434,10 +434,10 @@ export class SubgraphFreshnessChecker { const subgraphQueryPromise = subgraph.query(updatedQuery, variables) as Promise< QueryResult & BlockNumberInterface > - const latestNetworkBLockPromise = this.provider.getBlockNumber() + const latestNetworkBlockPromise = this.provider.getBlockNumber() const [subgraphQueryResult, latestNetworkBlock] = await Promise.all([ subgraphQueryPromise, - latestNetworkBLockPromise, + latestNetworkBlockPromise, ]) // Return it early if query results contains errors