fixed messages

This commit is contained in:
cubedro 2015-03-04 23:51:50 +02:00
parent 2e988bee9e
commit 714ef1ce49

View File

@ -346,7 +346,7 @@ Node.prototype.setWatches = function()
}); });
this.chainWatch = web3.eth.watch('chain'); this.chainWatch = web3.eth.watch('chain');
this.chainWatch.message(function(log) { this.chainWatch.messages(function(log) {
console.log('block changed'); console.log('block changed');
self.update(); self.update();
}); });