From 6d2c1bd9f13ba284932f99726462a78f5916289d Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 25 May 2014 08:02:33 -0500 Subject: [PATCH] framer: fix undefined var typo. --- lib/bcoin/protocol/framer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/protocol/framer.js b/lib/bcoin/protocol/framer.js index 1f9ca4ff..4970e645 100644 --- a/lib/bcoin/protocol/framer.js +++ b/lib/bcoin/protocol/framer.js @@ -128,7 +128,7 @@ function varint(arr, value, off) { arr[off + 4] = value >>> 24; return 5; } else { - p[off] = 0xff; + arr[off] = 0xff; utils.writeU64(arr, value, off + 1); return 9; }