added default to 'pending' filter
This commit is contained in:
parent
f87a378b4d
commit
2c1d6fa78e
@ -381,7 +381,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) {
|
if(PENDING_WORKS) {
|
||||||
self.update();
|
debounce(function() {
|
||||||
|
self.update();
|
||||||
|
}, 50);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user