From dd34743b8e318e9683c946cf2c1ad54901ec190b Mon Sep 17 00:00:00 2001 From: roks0n Date: Tue, 23 Jul 2019 23:34:39 +0200 Subject: [PATCH] version bump and update node stats every run --- package.json | 2 +- src/crawler.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 18325e6..cee7e51 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@deadlock-delegate/crawler", - "version": "1.2.5", + "version": "1.2.6", "description": "Crawler scans the ARK network to get information about the peers in the network.", "main": "src/crawler.js", "scripts": { diff --git a/src/crawler.js b/src/crawler.js index 5389444..2ea1545 100644 --- a/src/crawler.js +++ b/src/crawler.js @@ -22,7 +22,6 @@ class Crawler { } } - this.nodes = {} this.peers = new Peers() } @@ -33,6 +32,7 @@ class Crawler { * @return {Promise} */ async run (peer) { + this.nodes = {} this.heights = [] this.samplePeers = {} this.startTime = new Date()