mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-09 13:13:13 +00:00
services/consensus: add some logging on start
This commit is contained in:
parent
99b71bbbd1
commit
84b240cc9a
4 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue