peer: remove co.wait call.

This commit is contained in:
Christopher Jeffrey 2017-06-26 03:49:50 -07:00
parent f1f112b6c6
commit 724c9f66e7
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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) {