Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Flushing round at height 101 #82.
Browse files Browse the repository at this point in the history
Fixes unrecoverable fork due to first round not being applied.
  • Loading branch information
Olivier Beddows committed May 24, 2016
1 parent 76bac63 commit 5483145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/round.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Round.prototype.tick = function (block, done) {

scope.finishRound = (
(round !== nextRound && private.delegatesByRound[round].length == slots.delegates) ||
(block.height == 1)
(block.height == 1 || block.height == 101)
);

function Tick (t) {
Expand Down

0 comments on commit 5483145

Please sign in to comment.