Skip to content

Commit

Permalink
binance: remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Feb 6, 2024
1 parent f734c69 commit 97b922a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/exchange/binance/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 97b922a

Please sign in to comment.