diff --git a/lib/node.js b/lib/node.js index 76e2bcd..92791b2 100644 --- a/lib/node.js +++ b/lib/node.js @@ -344,7 +344,7 @@ Node.prototype.setWatches = function() }); this.chainWatch = web3.eth.watch('chain'); - this.chainWatch.messages(function(log) { + this.chainWatch.changed(function(log) { console.log('block changed'); self.update(); });