Partially revert #4477 (#4550)

* Partially revert #4477
This commit is contained in:
Preston Van Loon 2020-01-14 16:29:02 -08:00 committed by prylabs-bulldozer[bot]
parent d8d9f4482f
commit d0793f00c5

View File

@ -115,10 +115,11 @@ func (s *Service) Start() {
return
}
s.waitForMinimumPeers()
if err := s.roundRobinSync(genesis); err == nil {
log.Infof("Synced up to slot %d", s.chain.HeadSlot())
s.synced = true
if err := s.roundRobinSync(genesis); err != nil {
panic(err)
}
log.Infof("Synced up to slot %d", s.chain.HeadSlot())
s.synced = true
}
// Stop initial sync.