diff --git a/pkg/strategy/xdepthmaker/strategy.go b/pkg/strategy/xdepthmaker/strategy.go index 2c6333b2b..19154c779 100644 --- a/pkg/strategy/xdepthmaker/strategy.go +++ b/pkg/strategy/xdepthmaker/strategy.go @@ -1127,15 +1127,6 @@ func (s *Strategy) updateQuote(ctx context.Context, maxLayer int) { return } - // if it's disconnected or context is canceled, then return - select { - case <-ctx.Done(): - return - case <-s.makerConnectivity.DisconnectedC(): - return - default: - } - bestBid, bestAsk, hasPrice := s.sourceBook.BestBidAndAsk() if !hasPrice { return