Skip to content

Commit

Permalink
fix(bootstrap): totalRound calculation (#739)
Browse files Browse the repository at this point in the history
* Fix total round calculation

* Empty commit
  • Loading branch information
sebastijankuzner authored Oct 18, 2024
1 parent 9152fd1 commit 56394fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bootstrap/source/bootstrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class Bootstrapper {
let totalRound = 0;

for await (const commit of this.databaseService.readCommits(
this.stateStore.getHeight() + 1,
this.stateStore.getHeight(),
lastCommit.block.data.height,
)) {
totalRound += commit.proof.round + 1;
Expand Down

0 comments on commit 56394fe

Please sign in to comment.