removed test
This commit is contained in:
parent
d7a70d5456
commit
f7bdf8d0a9
@ -5,8 +5,6 @@ const config = require('../../config');
|
|||||||
|
|
||||||
const node = new FullNode(config.bcoin);
|
const node = new FullNode(config.bcoin);
|
||||||
|
|
||||||
let max = 0;
|
|
||||||
|
|
||||||
function start() {
|
function start() {
|
||||||
node.open()
|
node.open()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
@ -18,10 +16,6 @@ function start() {
|
|||||||
node.chain.on('connect', (entry, block) => {
|
node.chain.on('connect', (entry, block) => {
|
||||||
logger.log('debug',
|
logger.log('debug',
|
||||||
'New Block & Ledger Entry');
|
'New Block & Ledger Entry');
|
||||||
if (max < entry.height) {
|
|
||||||
max = entry.height;
|
|
||||||
}
|
|
||||||
console.log(max);
|
|
||||||
BlockParser.parse(entry, block);
|
BlockParser.parse(entry, block);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user