changed chain watch to changed
This commit is contained in:
parent
3281b2ae98
commit
fb319b3ddd
@ -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