start timer after sync

pull/3451/head
Rongjian Lan 4 years ago committed by Leo Chen
parent 0f02ec9bf1
commit 42e38aa4d7
  1. 1
      consensus/consensus_v2.go

@ -325,6 +325,7 @@ func (consensus *Consensus) Start(
consensus.SetViewIDs(consensus.Blockchain.CurrentHeader().ViewID().Uint64() + 1)
mode := consensus.UpdateConsensusInformation()
consensus.current.SetMode(mode)
consensus.consensusTimeout[timeoutConsensus].Start()
consensus.getLogger().Info().Str("Mode", mode.String()).Msg("Node is IN SYNC")
}
consensus.mutex.Unlock()

Loading…
Cancel
Save