mirror of
https://github.com/tendermint/tendermint.git
synced 2026-07-08 17:16:41 +00:00
+1
-1
@@ -556,6 +556,7 @@ func (cs *ConsensusState) receiveRoutine(maxSteps int) {
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
cs.Logger.Error("CONSENSUS FAILURE!!!", "err", r, "stack", string(debug.Stack()))
|
||||
go cs.receiveRoutine(0)
|
||||
}
|
||||
}()
|
||||
|
||||
@@ -588,7 +589,6 @@ func (cs *ConsensusState) receiveRoutine(maxSteps int) {
|
||||
// go to the next step
|
||||
cs.handleTimeout(ti, rs)
|
||||
case <-cs.Quit():
|
||||
|
||||
// NOTE: the internalMsgQueue may have signed messages from our
|
||||
// priv_val that haven't hit the WAL, but its ok because
|
||||
// priv_val tracks LastSig
|
||||
|
||||
Reference in New Issue
Block a user