diff --git a/consensus/view_change.go b/consensus/view_change.go index 4c4a1c48d..821cbe552 100644 --- a/consensus/view_change.go +++ b/consensus/view_change.go @@ -138,6 +138,9 @@ func (consensus *Consensus) startViewChange(viewID uint64) { consensus.consensusTimeout[timeoutViewChange].SetDuration(duration) defer consensus.consensusTimeout[timeoutViewChange].Start() + // update the dictionary key if the viewID is first time received + consensus.vc.AddViewIDKeyIfNotExist(viewID, consensus.Decider.Participants()) + // init my own payload if err := consensus.vc.InitPayload( consensus.FBFTLog,