binance: remove debug code

This commit is contained in:
c9s 2024-02-06 12:28:36 +08:00
parent f734c699bc
commit 97b922a8b2
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -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"