diff --git a/consensus/consensus_service.go b/consensus/consensus_service.go index ee0e6026c..9a171ea1d 100644 --- a/consensus/consensus_service.go +++ b/consensus/consensus_service.go @@ -493,7 +493,6 @@ func (consensus *Consensus) switchPhase(subject string, desired FBFTPhase) { Str("switchPhase:", subject) consensus.phase.Set(desired) - return } var ( diff --git a/consensus/consensus_v2.go b/consensus/consensus_v2.go index 4db16a372..876613d81 100644 --- a/consensus/consensus_v2.go +++ b/consensus/consensus_v2.go @@ -47,8 +47,6 @@ const ( // IsViewChangingMode return true if curernt mode is viewchanging func (consensus *Consensus) IsViewChangingMode() bool { - //consensus.mutex.RLock() - //defer consensus.mutex.RUnlock() return consensus.isViewChangingMode() }