From 615292de4618860c6462a95ec79af469db9f400f Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 18 May 2014 13:25:00 -0500 Subject: [PATCH] util: style changes. Signed-off-by: Fedor Indutny --- lib/bcoin/utils.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/bcoin/utils.js b/lib/bcoin/utils.js index ba505641..fc718da3 100644 --- a/lib/bcoin/utils.js +++ b/lib/bcoin/utils.js @@ -181,7 +181,8 @@ utils.writeU64 = function writeU64(dst, num, off) { off = 0; num = new bn(num).maskn(64).toArray(); - while (num.length < 8) num.unshift(0); + while (num.length < 8) + num.unshift(0); num.reverse().forEach(function(ch) { dst[off++] = ch; @@ -213,7 +214,8 @@ utils.writeU64BE = function writeU64BE(dst, num, off) { off = 0; num = new bn(num).maskn(64).toArray(); - while (num.length < 8) num.unshift(0); + while (num.length < 8) + num.unshift(0); num.forEach(function(ch) { dst[off++] = ch;