diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-06-28 05:19:28 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-06-28 05:19:28 +0800 |
commit | db2836a1ae5bfb2e641ab2b68a9853297e97b64b (patch) | |
tree | d55a2ac58747c3742f0ff03922eb2807aa86924f /app | |
parent | 48f7cff8c0e765e85532c860c5f3061ca1d6deb7 (diff) | |
download | tangerine-wallet-browser-db2836a1ae5bfb2e641ab2b68a9853297e97b64b.tar tangerine-wallet-browser-db2836a1ae5bfb2e641ab2b68a9853297e97b64b.tar.gz tangerine-wallet-browser-db2836a1ae5bfb2e641ab2b68a9853297e97b64b.tar.bz2 tangerine-wallet-browser-db2836a1ae5bfb2e641ab2b68a9853297e97b64b.tar.lz tangerine-wallet-browser-db2836a1ae5bfb2e641ab2b68a9853297e97b64b.tar.xz tangerine-wallet-browser-db2836a1ae5bfb2e641ab2b68a9853297e97b64b.tar.zst tangerine-wallet-browser-db2836a1ae5bfb2e641ab2b68a9853297e97b64b.zip |
dont stop retrying brodcasting txs
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/transactions.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index f6dea34e7..31cf8239a 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -8,8 +8,6 @@ const TxProviderUtil = require('../lib/tx-utils') const createId = require('../lib/random-id') const denodeify = require('denodeify') -const RETRY_LIMIT = 200 - module.exports = class TransactionController extends EventEmitter { constructor (opts) { super() @@ -435,8 +433,6 @@ module.exports = class TransactionController extends EventEmitter { // Only auto-submit already-signed txs: if (!('rawTx' in txMeta)) return cb() - if (txMeta.retryCount > RETRY_LIMIT) return - // Increment a try counter. txMeta.retryCount++ const rawTx = txMeta.rawTx |