network: fix typo in error message

This commit is contained in:
Anna Shaleva 2021-06-15 12:22:01 +03:00
parent 76c687aaa1
commit 6ca7983be8

View file

@ -169,7 +169,7 @@ func newServerFromConstructors(config ServerConfig, chain blockchainer.Blockchai
chain.SetNotary(n) chain.SetNotary(n)
} }
} else if config.P2PNotaryCfg.Enabled { } else if config.P2PNotaryCfg.Enabled {
return nil, errors.New("P2PSigExtensions are disabled, but Notary service is enable") return nil, errors.New("P2PSigExtensions are disabled, but Notary service is enabled")
} }
s.bQueue = newBlockQueue(maxBlockBatch, chain, log, func(b *block.Block) { s.bQueue = newBlockQueue(maxBlockBatch, chain, log, func(b *block.Block) {
s.tryStartServices() s.tryStartServices()