diff --git a/consensus/consensus_leader.go b/consensus/consensus_leader.go index da2d44213..e11dde20b 100644 --- a/consensus/consensus_leader.go +++ b/consensus/consensus_leader.go @@ -289,6 +289,8 @@ func (consensus *Consensus) processCommitMessage(message consensus_proto.Message utils.GetLogInstance().Debug("HOORAY!!! CONSENSUS REACHED!!!", "consensusID", consensus.consensusID, "numOfSignatures", len(*commitSigs)) + // TODO: remove this temporary delay + time.Sleep(500 * time.Millisecond) // Send signal to Node so the new block can be added and new round of consensus can be triggered consensus.ReadySignal <- struct{}{} }