From 4dd8a54501f28fc67b8160eb51dc1f3b5ddfdba5 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 3 Jun 2014 09:46:19 -0500 Subject: [PATCH] framer: another style fix. --- lib/bcoin/protocol/framer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/bcoin/protocol/framer.js b/lib/bcoin/protocol/framer.js index 94ceebcd..b25c7b5d 100644 --- a/lib/bcoin/protocol/framer.js +++ b/lib/bcoin/protocol/framer.js @@ -91,9 +91,8 @@ Framer.prototype.version = function version(packet) { p[off++] = 0; } else { off += varint(p, this.agent.length, off); - for (var i = 0; i < this.agent.length; i++) { + for (var i = 0; i < this.agent.length; i++) p[off++] = this.agent[i]; - } } // Start height