From 714ef1ce49442c4bfb41d1c414f3bfd65262f633 Mon Sep 17 00:00:00 2001 From: cubedro Date: Wed, 4 Mar 2015 23:51:50 +0200 Subject: [PATCH] fixed messages --- lib/node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node.js b/lib/node.js index 56da618..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.message(function(log) { + this.chainWatch.messages(function(log) { console.log('block changed'); self.update(); });