diff --git a/lib/web3/ipcprovider.js b/lib/web3/ipcprovider.js index a580e02..adc09f1 100644 --- a/lib/web3/ipcprovider.js +++ b/lib/web3/ipcprovider.js @@ -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)); } }