added PENDING_WORKS to filter too
This commit is contained in:
parent
4361ea9d4b
commit
76f2f28665
@ -373,7 +373,9 @@ Node.prototype.setWatches = function()
|
|||||||
|
|
||||||
this.pendingFilter = web3.eth.filter('pending');
|
this.pendingFilter = web3.eth.filter('pending');
|
||||||
this.pendingFilter.watch( function(log) {
|
this.pendingFilter.watch( function(log) {
|
||||||
|
if(PENDING_WORKS) {
|
||||||
self.update();
|
self.update();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.chainFilter = web3.eth.filter('latest');
|
this.chainFilter = web3.eth.filter('latest');
|
||||||
|
Loading…
Reference in New Issue
Block a user