Skip to content
This repository has been archived by the owner on Jul 18, 2021. It is now read-only.

Commit

Permalink
Fix obscure connection issues with the miner gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbrucker committed Jul 26, 2020
1 parent 69149ff commit 797c5de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/services/foxy-pool-gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ class FoxyPoolGateway {
}

async init() {
this.client = io(this.url, {
rejectUnauthorized : false,
transports: ['websocket'],
});
this.client = io(this.url, { rejectUnauthorized : false });

this.client.on('connect', async () => {
this.connected = true;
Expand Down

0 comments on commit 797c5de

Please sign in to comment.