okex: remove unused code

This commit is contained in:
c9s 2021-05-30 15:53:43 +08:00
parent d112dbb1a4
commit d6bd33a682

View File

@ -244,12 +244,6 @@ func (s *Stream) connect(ctx context.Context) error {
// create a new context // create a new context
s.connCtx, s.connCancel = context.WithCancel(ctx) 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 // when in public mode, the listen key is an empty string
var url string var url string
if s.publicOnly { if s.publicOnly {