Bugfix: Orderbook locks (#666)

This commit is contained in:
Scott
2021-04-29 11:27:19 +10:00
committed by GitHub
parent b7f111a1a4
commit 36a4bf4c1f
6 changed files with 46 additions and 40 deletions

View File

@@ -544,6 +544,7 @@ func (b *Binance) Subscribe(channelsToSubscribe []stream.ChannelSubscription) er
for i := range channelsToSubscribe {
payload.Params = append(payload.Params, channelsToSubscribe[i].Channel)
}
err := b.Websocket.Conn.SendJSONMessage(payload)
if err != nil {
return err