Merge pull request #1997 from nspcc-dev/drop-syncreached-check
network: drop useless flag check
This commit is contained in:
commit
1cea0dd894
1 changed files with 1 additions and 3 deletions
|
@ -172,9 +172,7 @@ func newServerFromConstructors(config ServerConfig, chain blockchainer.Blockchai
|
|||
return nil, errors.New("P2PSigExtensions are disabled, but Notary service is enable")
|
||||
}
|
||||
s.bQueue = newBlockQueue(maxBlockBatch, chain, log, func(b *block.Block) {
|
||||
if !s.syncReached.Load() {
|
||||
s.tryStartServices()
|
||||
}
|
||||
})
|
||||
|
||||
if config.StateRootCfg.Enabled && chain.GetConfig().StateRootInHeader {
|
||||
|
|
Loading…
Reference in a new issue