Skip to content

Commit

Permalink
dbft: don't rush to send PrepareRequest when recovery (#799) (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangTao authored May 17, 2023
1 parent 4e31068 commit b639e84
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DBFTPlugin/Consensus/ConsensusService.OnMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,6 @@ private void OnRecoveryMessageReceived(RecoveryMessage message)
totalPrepReq = 1;
if (ReverifyAndProcessPayload(prepareRequestPayload)) validPrepReq++;
}
else if (context.IsPrimary)
SendPrepareRequest();
}
ExtensiblePayload[] prepareResponsePayloads = message.GetPrepareResponsePayloads(context);
totalPrepResponses = prepareResponsePayloads.Length;
Expand Down

0 comments on commit b639e84

Please sign in to comment.