File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
beacon-chain/sync/initial-sync Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1313,7 +1313,7 @@ func TestBlocksQueue_stuckWhenHeadIsSetToOrphanedBlock(t *testing.T) {
1313
1313
1314
1314
select {
1315
1315
case <- time .After (3 * time .Second ):
1316
- t .Fatal ("test takes to long to complete" )
1316
+ t .Fatal ("test takes too long to complete" )
1317
1317
case data := <- queue .fetchedData :
1318
1318
for _ , blk := range data .blocks {
1319
1319
blkRoot , err := blk .Block .HashTreeRoot ()
Original file line number Diff line number Diff line change @@ -56,11 +56,7 @@ func (s *Service) roundRobinSync(genesis time.Time) error {
56
56
57
57
// Step 2 - sync to head from majority of peers (from no less than MinimumSyncPeers*2 peers)
58
58
// having the same world view on non-finalized epoch.
59
- if err := s .syncToNonFinalizedEpoch (ctx , genesis ); err != nil {
60
- return err
61
- }
62
-
63
- return nil
59
+ return s .syncToNonFinalizedEpoch (ctx , genesis )
64
60
}
65
61
66
62
// syncToFinalizedEpoch sync from head to best known finalized epoch.
You can’t perform that action at this time.
0 commit comments