Skip to content

Commit 101a6e6

Browse files
committed
Forgot filter options
1 parent 27347ba commit 101a6e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/sync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var listenBlocks = function(config) {
2323
logIndex: "Number",
2424
fromBlock: "latest",
2525
};
26-
var newBlocks = web3.eth.filter(options);
26+
var newBlocks = web3.eth.filter("number");
2727
newBlocks.watch(function (error, blockHashOrNumber) {
2828
if(error) {
2929
console.log('Error: ' + error);

0 commit comments

Comments
 (0)