Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shunjizhan committed Sep 25, 2023
1 parent 3bf21c7 commit cccf9b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eth-providers/src/base-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1804,6 +1804,8 @@ export abstract class BaseProvider extends AbstractProvider {
so upper bound would be finalized block number
---------- */
_waitForSubql = async (_targetBlock: number) => {
if (!this.subql) return;

const SUBQL_MAX_WAIT_BLOCKS = 3;

const upperBound = await this.finalizedBlockNumber;
Expand Down

0 comments on commit cccf9b1

Please sign in to comment.