Merge pull request #5 from cubedro/develop

changed chain watch to changed
This commit is contained in:
Marian OANCΞA 2015-02-28 23:12:00 +02:00
commit 4d2376b6ef
1 changed files with 1 additions and 1 deletions

View File

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