Skip to content

Commit

Permalink
preston's review
Browse files Browse the repository at this point in the history
  • Loading branch information
nisdas committed Feb 6, 2024
1 parent 08088c2 commit 70a4c26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions beacon-chain/sync/initial-sync/service.go
Expand Up @@ -88,6 +88,7 @@ type SyncChecker struct {
// Synced returns the status of the service.
func (s *SyncChecker) Synced() bool {
if s.Svc == nil {
log.Warn("Calling sync checker with a nil service initialized")
return false
}
return s.Svc.Synced()
Expand Down

0 comments on commit 70a4c26

Please sign in to comment.