peer: do not fire events for unknown packets (bad).
This commit is contained in:
parent
1927524c47
commit
97e0122b8b
@ -974,7 +974,6 @@ Peer.prototype._onPacket = function onPacket(packet) {
|
||||
return this._handleAuthPropose(payload);
|
||||
default:
|
||||
this.logger.warning('Unknown packet: %s.', cmd);
|
||||
this.fire(cmd, payload);
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user