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