Skip to content

Commit 07af335

Browse files
authored
self.ws.send doesn't need to happen twice
1 parent 4a4aa19 commit 07af335

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gdax/websocket_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def _connect(self):
6666
sub_params.update(get_auth_headers(timestamp, message, self.api_key, self.api_secret, self.api_passphrase))
6767

6868
self.ws = create_connection(self.url)
69-
self.ws.send(json.dumps(sub_params))
7069

7170
if self.type == "heartbeat":
7271
sub_params = {"type": "heartbeat", "on": True}

0 commit comments

Comments
 (0)