We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 101a6e6 commit 447fb89Copy full SHA for 447fb89
1 file changed
tools/sync.js
@@ -23,7 +23,7 @@ var listenBlocks = function(config) {
23
logIndex: "Number",
24
fromBlock: "latest",
25
};
26
- var newBlocks = web3.eth.filter("number");
+ var newBlocks = web3.eth.filter("latest");
27
newBlocks.watch(function (error, blockHashOrNumber) {
28
if(error) {
29
console.log('Error: ' + error);
0 commit comments