Skip to content

Commit a57e51f

Browse files
vncoelhoshargon
andauthored
Update src/DBFTPlugin/Consensus/ConsensusService.cs
Co-authored-by: Shargon <[email protected]>
1 parent f99733e commit a57e51f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/DBFTPlugin/Consensus/ConsensusService.cs

+1-7
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,8 @@ private void OnStart()
156156
CheckPreparations();
157157
return;
158158
}
159-
160-
if (context.ViewNumber != 0)
161-
{
162-
InitializeConsensus(context.ViewNumber);
163-
return;
164-
}
165159
}
166-
InitializeConsensus(0);
160+
InitializeConsensus(context.ViewNumber);
167161
// Issue a recovery request on start-up in order to possibly catch up with other nodes
168162
if (!context.WatchOnly)
169163
RequestRecovery();

0 commit comments

Comments
 (0)