aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-12-10 08:58:09 +0800
committerDan Finlay <dan@danfinlay.com>2017-12-10 08:58:47 +0800
commit542e0035dd99d07f8a6613d231a36005c5b39825 (patch)
tree9617350cf35382a1d03cb43895f237da7538ec47 /app
parentd39eb370423e2a2cdd41c47b92796c0d4c829b3b (diff)
downloadtangerine-wallet-browser-542e0035dd99d07f8a6613d231a36005c5b39825.tar.gz
tangerine-wallet-browser-542e0035dd99d07f8a6613d231a36005c5b39825.tar.zst
tangerine-wallet-browser-542e0035dd99d07f8a6613d231a36005c5b39825.zip
Pass polling interval to zero client provider
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/network.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/scripts/controllers/network.js b/app/scripts/controllers/network.js
index 045bfcc5d..cee918796 100644
--- a/app/scripts/controllers/network.js
+++ b/app/scripts/controllers/network.js
@@ -106,7 +106,11 @@ module.exports = class NetworkController extends EventEmitter {
}
_configureStandardProvider (_providerParams) {
- const providerParams = extend(this._baseProviderParams, _providerParams)
+ const providerParams = extend(this._baseProviderParams, _providerParams, {
+ engineParams: {
+ pollingInterval: 8000,
+ },
+ })
const provider = createMetamaskProvider(providerParams)
this._setProvider(provider)
}