From b3d87fa542c9ad2898662b27375e5d24d85b614a Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 7 Apr 2015 19:31:43 +0300 Subject: [PATCH] removed arrival and propagation --- lib/node.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/node.js b/lib/node.js index 00ae544..c82c089 100644 --- a/lib/node.js +++ b/lib/node.js @@ -178,8 +178,7 @@ Node.prototype.getBlock = function(number) number: 0, hash: '?', difficulty: 0, - timestamp: 0, - arrival: 0 + timestamp: 0 }; if(typeof number === 'undefined'){ @@ -200,8 +199,6 @@ Node.prototype.getBlock = function(number) try { block = web3.eth.getBlock(number, true); - block.arrival = (new Date()).getTime(); - block.propagation = block.arrival - (block.timestamp * 1000); if(block.hash != '?' && typeof block.difficulty !== 'undefined') {