eth-block-tracker
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "eth-block-tracker", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "This module walks the Ethereum blockchain, keeping track of the latest block. It uses a web3 provider as a data source and will continuously poll for the next block.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -91,1 +91,9 @@ const incrementHexNumber = require('../../lib/hexUtils').incrementHexNumber | ||
} | ||
function randomHash(){ | ||
return intToHex(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER)) | ||
} | ||
function intToHex(int){ | ||
return '0x'+int.toString(16) | ||
} |
32494
749