changed chain watch to changed

This commit is contained in:
cubedro 2015-02-28 23:11:35 +02:00
parent 3281b2ae98
commit fb319b3ddd

View File

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