Skip to content

Commit

Permalink
Update beacon-chain/blockchain/init_sync_process_block.go
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain committed Feb 18, 2020
1 parent 0276ea4 commit 2da4350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/blockchain/init_sync_process_block.go
Expand Up @@ -57,7 +57,7 @@ func (s *Service) filterBoundaryCandidates(ctx context.Context, root [32]byte, p
previousBoundaryRoot := s.boundaryRoots[len(s.boundaryRoots)-1]
previousState, ok := s.initSyncState[previousBoundaryRoot]
if !ok {
// remove the non-existent root and exit filtering.
// Remove the non-existent root and exit filtering.
s.boundaryRoots = s.boundaryRoots[:len(s.boundaryRoots)-1]
return
}
Expand Down

0 comments on commit 2da4350

Please sign in to comment.