mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
binance: remove debug code
This commit is contained in:
parent
f734c699bc
commit
97b922a8b2
|
@ -305,12 +305,6 @@ func parseWebSocketEvent(message []byte) (interface{}, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// res, err := json.MarshalIndent(message, "", " ")
|
||||
// if err != nil {
|
||||
// log.Fatal(err)
|
||||
// }
|
||||
// str := strings.ReplaceAll(string(res), "\\", "")
|
||||
// fmt.Println(str)
|
||||
eventType := string(val.GetStringBytes("e"))
|
||||
if eventType == "" && IsBookTicker(val) {
|
||||
eventType = "bookTicker"
|
||||
|
|
Loading…
Reference in New Issue
Block a user