Skip to content

Commit c5ad6fd

Browse files
committed
dbft: add leading space to comment
Signed-off-by: Andrey Butusov <andrey@nspcc.io>
1 parent b584beb commit c5ad6fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dbft.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ func (d *DBFT[H]) OnReceive(msg ConsensusPayload[H]) {
319319
func (d *DBFT[H]) onPrepareRequest(msg ConsensusPayload[H]) {
320320
// ignore prepareRequest if we had already received it or
321321
// are in process of changing view
322-
if d.RequestSentOrReceived() { //|| (d.ViewChanging() && !d.MoreThanFNodesCommittedOrLost()) {
322+
if d.RequestSentOrReceived() { // || (d.ViewChanging() && !d.MoreThanFNodesCommittedOrLost()) {
323323
d.Logger.Debug("ignoring PrepareRequest",
324324
zap.Bool("sor", d.RequestSentOrReceived()),
325325
zap.Bool("viewChanging", d.ViewChanging()),

0 commit comments

Comments
 (0)