From 97b922a8b299bd57351ae9ce5281cb5e8bcf6286 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 6 Feb 2024 12:28:36 +0800 Subject: [PATCH] binance: remove debug code --- pkg/exchange/binance/parse.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/exchange/binance/parse.go b/pkg/exchange/binance/parse.go index 5159c69687..af411dff97 100644 --- a/pkg/exchange/binance/parse.go +++ b/pkg/exchange/binance/parse.go @@ -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"