Fixes ineffectual assignment issue (#215)

This commit is contained in:
Ryan O'Hara-Reid
2018-12-05 13:18:40 +11:00
committed by Adrian Gallagher
parent c580276ba8
commit 825bfe3789

View File

@@ -75,6 +75,9 @@ func (p *Poloniex) WsSubscribe() error {
Command: "subscribe",
Channel: fPair.String(),
})
if err != nil {
return err
}
err = p.WebsocketConn.WriteMessage(websocket.TextMessage, orderbookJSON)
if err != nil {