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
1 changed files with 5 additions and 1 deletions

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