Skip to content

Commit

Permalink
Clarify iterative updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Jan 17, 2024
1 parent c8673dc commit 7559948
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dataworker/Dataworker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ export class Dataworker {
const destSpokePoolClient = spokePoolClients[destinationChainId];
[startBlock, endBlock] = updatedBlockRanges[destinationChainId];

// The blockNumber is iteratively narrowed in this loop so this fill might already be excluded.
if (blockNumber <= endBlock) {
// Find the fill immediately preceding this invalid fill.
const previousFill = destSpokePoolClient
Expand Down

0 comments on commit 7559948

Please sign in to comment.