diff --git a/lib/net/parser.js b/lib/net/parser.js index 455e5b8d..043885f0 100644 --- a/lib/net/parser.js +++ b/lib/net/parser.js @@ -135,10 +135,7 @@ Parser.prototype.parse = function parse(data) { if (checksum !== this.header.checksum) { this.waiting = 24; this.header = null; - return this.error( - 'Invalid checksum: %d != %d', - utils.hex32(checksum), - utils.hex32(this.header.checksum)); + return this.error('Invalid checksum: %d.', utils.hex32(checksum)); } try {