Skip to content

Commit

Permalink
(fix) don't splice symbol into ticker messages
Browse files Browse the repository at this point in the history
  • Loading branch information
f3rno committed Nov 19, 2018
1 parent 4607154 commit 06b0e13
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/transports/ws2.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,6 @@ class WSv2 extends EventEmitter {
let data = getMessagePayload(msg)

if (this._transform) {
msg[1].splice(0, 0, chanData.symbol)

data = (chanData.symbol || '')[0] === 't'
? new TradingTicker(msg[1])
: new FundingTicker(msg[1])
Expand Down

0 comments on commit 06b0e13

Please sign in to comment.