Skip to content

Commit

Permalink
chore(core-p2p): merge patch from master (#3456)
Browse files Browse the repository at this point in the history
  • Loading branch information
faustbrian authored Feb 10, 2020
1 parent cdfde55 commit 3a6b655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-p2p/src/socket-server/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class Worker extends SCWorker {
ws._disconnected = true;
} else if (parsed.event === "#handshake") {
if (ws._handshake) {
this.setErrorForIpAndTerminate(ws, req);
return this.setErrorForIpAndTerminate(ws, req);
}
ws._handshake = true;
} else if (
Expand Down

0 comments on commit 3a6b655

Please sign in to comment.