From d6bd33a6829861dbb6252b35a67fff9c2cd5f838 Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 30 May 2021 15:53:43 +0800 Subject: [PATCH] okex: remove unused code --- pkg/exchange/okex/stream.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/exchange/okex/stream.go b/pkg/exchange/okex/stream.go index 916b5f3f8..933cf7de0 100644 --- a/pkg/exchange/okex/stream.go +++ b/pkg/exchange/okex/stream.go @@ -244,12 +244,6 @@ func (s *Stream) connect(ctx context.Context) error { // create a new context s.connCtx, s.connCancel = context.WithCancel(ctx) - if s.publicOnly { - log.Infof("stream is set to public only mode") - } else { - log.Infof("request listen key for creating user data stream...") - } - // when in public mode, the listen key is an empty string var url string if s.publicOnly {