mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
okex: remove unused code
This commit is contained in:
parent
d112dbb1a4
commit
d6bd33a682
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user