Skip to content

Commit

Permalink
common: fix typo on variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
tilacog committed Sep 28, 2023
1 parent c0fe44e commit d35199b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/indexer-common/src/subgraphs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,10 +434,10 @@ export class SubgraphFreshnessChecker {
const subgraphQueryPromise = subgraph.query(updatedQuery, variables) as Promise<
QueryResult<Data> & 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
Expand Down

0 comments on commit d35199b

Please sign in to comment.