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