Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Partially revert prysmaticlabs#4477
  • Loading branch information
prestonvanloon authored and cryptomental committed Feb 24, 2020
1 parent d0c875b commit d5df332
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions beacon-chain/sync/initial-sync/service.go
Expand Up @@ -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.
Expand Down

0 comments on commit d5df332

Please sign in to comment.