1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 18:41:38 +01:00

Pass polling interval to zero client provider

This commit is contained in:
Dan Finlay 2017-12-09 19:58:09 -05:00
parent d39eb37042
commit 542e0035dd

View File

@ -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)
}