Skip to content

Commit

Permalink
Merge pull request #12 from 0xPolygon/add-schema
Browse files Browse the repository at this point in the history
quick node block getter changes
  • Loading branch information
nitinmittal23 committed Sep 28, 2023
2 parents a008e2d + 0ef4f77 commit f300ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/block_subscription/abstract_block_subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export abstract class AbstractBlockSubscription extends Queue<IBlockGetterWorker
this.lastFinalizedBlock = this.blockDelay > 0
? (await this.eth.getBlock("latest")).number - this.blockDelay
: (await this.eth.getBlock("finalized")).number;
//Clear any previously existing queue
// Clear any previously existing queue
this.clear();
this.observer = observer;
this.fatalError = false;
Expand Down

0 comments on commit f300ddc

Please sign in to comment.