services/consensus: add some logging on start

This commit is contained in:
Roman Khimov 2021-04-02 13:13:26 +03:00
parent 99b71bbbd1
commit 84b240cc9a
4 changed files with 4 additions and 0 deletions

View file

@ -244,6 +244,7 @@ func (s *service) newPrepareRequest() payload.PrepareRequest {
func (s *service) Start() {
if s.started.CAS(false, true) {
s.log.Info("starting consensus service")
s.dbft.Start()
s.Chain.SubscribeForBlocks(s.blockEvents)
go s.eventLoop()