Merge pull request #15 from cubedro/develop

Fixed chain messages
This commit is contained in:
Marian OANCΞA 2015-03-04 23:52:10 +02:00
commit 3ded24f9a1
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.messages(function(log) {
console.log('block changed');
self.update();
});