added default to 'pending' filter

This commit is contained in:
cubedro 2015-04-03 19:34:59 +03:00
parent f87a378b4d
commit 2c1d6fa78e
1 changed files with 3 additions and 1 deletions

View File

@ -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);
}
});