diff --git a/sync/sync_head.go b/sync/sync_head.go index 66dca328..c24e837b 100644 --- a/sync/sync_head.go +++ b/sync/sync_head.go @@ -15,7 +15,7 @@ import ( // Known subjective head is considered network head if it is recent enough(now-timestamp<=blocktime) // Otherwise, head is requested from a trusted peer and // set as the new subjective head, assuming that trusted peer is always fully synced. -func (s *Syncer[H]) Head(ctx context.Context) (H, error) { +func (s *Syncer[H]) Head(ctx context.Context, _ ...header.Option) (H, error) { sbjHead, err := s.subjectiveHead(ctx) if err != nil { return sbjHead, err