peer: minor.

This commit is contained in:
Christopher Jeffrey 2016-12-24 13:10:14 -08:00
parent e36adec092
commit f3bd64689d
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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: