fixed chain watch

This commit is contained in:
cubedro 2015-03-04 23:50:51 +02:00
parent bf72650d7e
commit 2e988bee9e
1 changed files with 1 additions and 1 deletions

View File

@ -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();
});