diff --git a/v5_ws_trade.go b/v5_ws_trade.go index 24747d4..4d0d2bc 100644 --- a/v5_ws_trade.go +++ b/v5_ws_trade.go @@ -64,14 +64,6 @@ func (s *V5WebsocketTradeService) judgeTopic(respBody []byte) (V5WebsocketTradeT return "", nil } -// parseResponse : -func (s *V5WebsocketTradeService) parseResponse(respBody []byte, response interface{}) error { - if err := json.Unmarshal(respBody, &response); err != nil { - return err - } - return nil -} - // Login : Apply for authentication when establishing a connection. func (s *V5WebsocketTradeService) Login() error { param, err := s.client.buildAuthParam()