Skip to content

Commit

Permalink
fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
krishna9810 committed Sep 28, 2023
1 parent d61c568 commit d9d43e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/block_subscription/abstract_block_subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export abstract class AbstractBlockSubscription extends Queue<IBlockGetterWorker
this.observer = observer;
this.fatalError = false;
this.lastFinalizedBlock = this.blockDelay > 0
? (await this.eth.getBlock('latest')).number - this.blockDelay
: (await this.eth.getBlock('finalized')).number;
? (await this.eth.getBlock("latest")).number - this.blockDelay
: (await this.eth.getBlock("finalized")).number;
this.nextBlock = startBlock;
this.lastBlockHash = "";
this.lastReceivedBlockNumber = startBlock - 1;
Expand Down

0 comments on commit d9d43e6

Please sign in to comment.