diff --git a/lib/node.js b/lib/node.js index d22b4c6..56da618 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.message(function(log) { console.log('block changed'); self.update(); });