mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
binance: fix parser parsebytes
This commit is contained in:
parent
eea4c43619
commit
24e465e5b6
|
@ -300,7 +300,7 @@ var parserPool fastjson.ParserPool
|
|||
|
||||
func parseWebSocketEvent(message []byte) (interface{}, error) {
|
||||
parser := parserPool.Get()
|
||||
val, err := parser.Parse(message)
|
||||
val, err := parser.ParseBytes(message)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user