diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/network/createInfuraClient.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/network/createInfuraClient.js b/app/scripts/controllers/network/createInfuraClient.js index f01927bca..5281dc4c1 100644 --- a/app/scripts/controllers/network/createInfuraClient.js +++ b/app/scripts/controllers/network/createInfuraClient.js @@ -12,7 +12,7 @@ const BlockTracker = require('eth-block-tracker') module.exports = createInfuraClient function createInfuraClient ({ network }) { - const infuraMiddleware = createInfuraMiddleware({ network }) + const infuraMiddleware = createInfuraMiddleware({ network, maxAttempts: 5, source: 'metamask' }) const infuraProvider = providerFromMiddleware(infuraMiddleware) const blockTracker = new BlockTracker({ provider: infuraProvider }) |