From f7bdf8d0a900832f3a103c391b1cf0e86ec12468 Mon Sep 17 00:00:00 2001 From: tenthirtyone Date: Sun, 6 Aug 2017 20:51:13 -0400 Subject: [PATCH] removed test --- lib/node/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/node/index.js b/lib/node/index.js index 4efc2a1..a5da6aa 100644 --- a/lib/node/index.js +++ b/lib/node/index.js @@ -5,8 +5,6 @@ const config = require('../../config'); const node = new FullNode(config.bcoin); -let max = 0; - function start() { node.open() .then(() => { @@ -18,10 +16,6 @@ function start() { node.chain.on('connect', (entry, block) => { logger.log('debug', 'New Block & Ledger Entry'); - if (max < entry.height) { - max = entry.height; - } - console.log(max); BlockParser.parse(entry, block); });