diff --git a/lib/websocket-client.js b/lib/websocket-client.js index 8074306..df0660d 100644 --- a/lib/websocket-client.js +++ b/lib/websocket-client.js @@ -43,7 +43,6 @@ module.exports = class WebsocketClient extends EventEmitter { subscribe(topics) { if(!Array.isArray(topics)) topics = [topics]; - topics.forEach(topic => this._subscriptions.add(topic)); // subscribe not necessary if not yet connected (will subscribe onOpen) @@ -200,7 +199,6 @@ module.exports = class WebsocketClient extends EventEmitter { } _subscribe(topics) { - console.log(topics); const msgStr = JSON.stringify({ op: 'subscribe', 'args': topics