Skip to content

Commit 58fa510

Browse files
vncoelhoJim8yshargon
authored
Initialize Consensus at the correct view (#779)
* Initialize Consensus at the correct view * Update src/DBFTPlugin/Consensus/ConsensusService.cs Co-authored-by: Shargon <[email protected]> --------- Co-authored-by: Jimmy <[email protected]> Co-authored-by: Jimmy <[email protected]> Co-authored-by: Shargon <[email protected]>
1 parent da5ad4c commit 58fa510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DBFTPlugin/Consensus/ConsensusService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private void OnStart()
157157
return;
158158
}
159159
}
160-
InitializeConsensus(0);
160+
InitializeConsensus(context.ViewNumber);
161161
// Issue a recovery request on start-up in order to possibly catch up with other nodes
162162
if (!context.WatchOnly)
163163
RequestRecovery();

0 commit comments

Comments
 (0)