diff --git a/lib/node.js b/lib/node.js index 6eedfd9..a72a584 100644 --- a/lib/node.js +++ b/lib/node.js @@ -158,8 +158,8 @@ Node.prototype.getBlock = function(number) try { block = web3.eth.block(number); - block.arrival = Math.floor(Date.now()/1000); - block.propagation = block.arrival - block.timestamp; + block.arrival = Date.now(); + block.propagation = block.arrival - (block.timestamp * 1000); if(block.hash != '?' && typeof block.difficulty !== 'undefined') {