diff --git a/lib/node.js b/lib/node.js index 42b64bc..5bb5d41 100644 --- a/lib/node.js +++ b/lib/node.js @@ -373,7 +373,9 @@ Node.prototype.setWatches = function() this.pendingFilter = web3.eth.filter('pending'); this.pendingFilter.watch( function(log) { - self.update(); + if(PENDING_WORKS) { + self.update(); + } }); this.chainFilter = web3.eth.filter('latest');