diff options
author | Jenny Pollack <jennypollack3@gmail.com> | 2019-01-25 08:56:55 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2019-01-25 08:56:55 +0800 |
commit | 456bfaf9ed87fc84598d3f81f451e08e30ff5de0 (patch) | |
tree | caccf7d6fca32abc5a786f878594c30ca5621e27 /app | |
parent | 2d7c9b3dacc08c3d308100894b14d8c9f971e775 (diff) | |
download | tangerine-wallet-browser-456bfaf9ed87fc84598d3f81f451e08e30ff5de0.tar tangerine-wallet-browser-456bfaf9ed87fc84598d3f81f451e08e30ff5de0.tar.gz tangerine-wallet-browser-456bfaf9ed87fc84598d3f81f451e08e30ff5de0.tar.bz2 tangerine-wallet-browser-456bfaf9ed87fc84598d3f81f451e08e30ff5de0.tar.lz tangerine-wallet-browser-456bfaf9ed87fc84598d3f81f451e08e30ff5de0.tar.xz tangerine-wallet-browser-456bfaf9ed87fc84598d3f81f451e08e30ff5de0.tar.zst tangerine-wallet-browser-456bfaf9ed87fc84598d3f81f451e08e30ff5de0.zip |
add source for header in create infura client (#6023)
* add source for header in create infura client
* bump eth-json-rpc-infura
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 }) |