diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-12-10 08:58:09 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-12-10 08:58:47 +0800 |
commit | 542e0035dd99d07f8a6613d231a36005c5b39825 (patch) | |
tree | 9617350cf35382a1d03cb43895f237da7538ec47 /app | |
parent | d39eb370423e2a2cdd41c47b92796c0d4c829b3b (diff) | |
download | tangerine-wallet-browser-542e0035dd99d07f8a6613d231a36005c5b39825.tar tangerine-wallet-browser-542e0035dd99d07f8a6613d231a36005c5b39825.tar.gz tangerine-wallet-browser-542e0035dd99d07f8a6613d231a36005c5b39825.tar.bz2 tangerine-wallet-browser-542e0035dd99d07f8a6613d231a36005c5b39825.tar.lz tangerine-wallet-browser-542e0035dd99d07f8a6613d231a36005c5b39825.tar.xz 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.js | 6 |
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) } |