From 724c9f66e79e059793c21234ad55def826e7ad68 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 26 Jun 2017 03:49:50 -0700 Subject: [PATCH] peer: remove co.wait call. --- lib/net/peer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net/peer.js b/lib/net/peer.js index 6a2f9381..64ac1fbc 100644 --- a/lib/net/peer.js +++ b/lib/net/peer.js @@ -522,7 +522,7 @@ Peer.prototype.initConnect = function initConnect() { if (this.connected) { assert(!this.outbound); - return co.wait(); + return; } return new Promise(function(resolve, reject) {