Skip to content

Commit 06b0e13

Browse files
committed
(fix) don't splice symbol into ticker messages
1 parent 4607154 commit 06b0e13

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/transports/ws2.js

-2
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,6 @@ class WSv2 extends EventEmitter {
750750
let data = getMessagePayload(msg)
751751

752752
if (this._transform) {
753-
msg[1].splice(0, 0, chanData.symbol)
754-
755753
data = (chanData.symbol || '')[0] === 't'
756754
? new TradingTicker(msg[1])
757755
: new FundingTicker(msg[1])

0 commit comments

Comments
 (0)