From 4fb1c7d3715168d84cf8e5ae40c558ca39a0de5a Mon Sep 17 00:00:00 2001 From: itsdevbear Date: Sat, 25 May 2024 16:10:58 -0400 Subject: [PATCH] bet --- mod/beacon/blockchain/service.go | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/mod/beacon/blockchain/service.go b/mod/beacon/blockchain/service.go index d64cb85ee2..ed139b99dc 100644 --- a/mod/beacon/blockchain/service.go +++ b/mod/beacon/blockchain/service.go @@ -113,15 +113,16 @@ func NewService[ AvailabilityStoreT, ReadOnlyBeaconStateT, BlobSidecarsT, DepositStoreT, ]{ - sb: sb, - logger: logger, - cs: cs, - ee: ee, - lb: lb, - bp: bp, - sp: sp, - dc: dc, - metrics: newChainMetrics(ts), + sb: sb, + logger: logger, + cs: cs, + ee: ee, + lb: lb, + bp: bp, + sp: sp, + dc: dc, + metrics: newChainMetrics(ts), + //nolint:mnd // temp. maxFCUGap: 2 * time.Second, } } @@ -142,15 +143,9 @@ func (s *Service[ BlobSidecarsT, DepositStoreT, ]) Start( - ctx context.Context, + _ context.Context, ) error { - for { - select { - case <-ctx.Done(): - return nil - } - } - + return nil } func (s *Service[