@ -493,7 +493,6 @@ func (consensus *Consensus) switchPhase(subject string, desired FBFTPhase) {
Str("switchPhase:", subject)
consensus.phase.Set(desired)
return
}
var (
@ -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()