Merge pull request #5 from cubedro/develop
changed chain watch to changed
This commit is contained in:
commit
4d2376b6ef
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user