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); });