added PENDING_WORKS to filter too

This commit is contained in:
cubedro 2015-04-03 01:13:22 +03:00
parent 4361ea9d4b
commit 76f2f28665

View File

@ -373,7 +373,9 @@ Node.prototype.setWatches = function()
this.pendingFilter = web3.eth.filter('pending');
this.pendingFilter.watch( function(log) {
if(PENDING_WORKS) {
self.update();
}
});
this.chainFilter = web3.eth.filter('latest');