diff --git a/lib/node.js b/lib/node.js index 5c7bf97..c65f2e9 100644 --- a/lib/node.js +++ b/lib/node.js @@ -381,7 +381,9 @@ Node.prototype.setWatches = function() this.pendingFilter = web3.eth.filter('pending'); this.pendingFilter.watch( function(log) { if(PENDING_WORKS) { - self.update(); + debounce(function() { + self.update(); + }, 50); } });