From f3bd64689df633f30366f64da3e68ab39d0e9b4d Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 24 Dec 2016 13:10:14 -0800 Subject: [PATCH] peer: minor. --- 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 5223d70d..660a15b4 100644 --- a/lib/net/peer.js +++ b/lib/net/peer.js @@ -1259,7 +1259,7 @@ Peer.prototype.onPacket = co(function* onPacket(packet) { case packetTypes.PONG: return yield this.handlePong(packet); case packetTypes.ALERT: - return this.handleAlert(packet); + return yield this.handleAlert(packet); case packetTypes.GETADDR: return yield this.handleGetAddr(packet); case packetTypes.ADDR: