mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 03:28:07 +00:00
fixed timeout
This commit is contained in:
parent
30cc07227e
commit
788337dd55
@ -99,8 +99,8 @@ Timeout all requests when the end/error event is fired
|
||||
@method _timeout
|
||||
*/
|
||||
IpcProvider.prototype._timeout = function() {
|
||||
for(key in this.responseCallbacks) {
|
||||
if(this.responseCallback.hasOwnProperty(key)){
|
||||
for(var key in this.responseCallbacks) {
|
||||
if(this.responseCallbacks.hasOwnProperty(key)){
|
||||
this.responseCallbacks[key](errorTimeout.replace('__id__', key).replace('__method__', this.responseCallbacks[key].method));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user