Skip to content

Commit

Permalink
fix: block range in isReorgDetected method
Browse files Browse the repository at this point in the history
  • Loading branch information
eddort committed Dec 20, 2023
1 parent a8a1bc0 commit 403a91a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jobs/keys-update/staking-module-updater.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class StakingModuleUpdaterService {
}

const blocks = await Promise.all(
range(prevBlock.number, currentBlock.number).map(async (bNumber) => {
range(prevBlock.number, currentBlock.number + 1).map(async (bNumber) => {
return await this.executionProvider.getFullBlock(bNumber);
}),
);
Expand Down

0 comments on commit 403a91a

Please sign in to comment.