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: