1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

dont stop retrying brodcasting txs

This commit is contained in:
frankiebee 2017-06-27 14:19:28 -07:00
parent 48f7cff8c0
commit db2836a1ae
2 changed files with 1 additions and 4 deletions

View File

@ -2,6 +2,7 @@
## Current Master ## Current Master
- No longer stop rebroadcasting transactions
- Add list of popular tokens held to the account detail view. - Add list of popular tokens held to the account detail view.
- Add a warning to JSON file import. - Add a warning to JSON file import.
- Fix bug where slowly mined txs would sometimes be incorrectly marked as failed. - Fix bug where slowly mined txs would sometimes be incorrectly marked as failed.

View File

@ -8,8 +8,6 @@ const TxProviderUtil = require('../lib/tx-utils')
const createId = require('../lib/random-id') const createId = require('../lib/random-id')
const denodeify = require('denodeify') const denodeify = require('denodeify')
const RETRY_LIMIT = 200
module.exports = class TransactionController extends EventEmitter { module.exports = class TransactionController extends EventEmitter {
constructor (opts) { constructor (opts) {
super() super()
@ -435,8 +433,6 @@ module.exports = class TransactionController extends EventEmitter {
// Only auto-submit already-signed txs: // Only auto-submit already-signed txs:
if (!('rawTx' in txMeta)) return cb() if (!('rawTx' in txMeta)) return cb()
if (txMeta.retryCount > RETRY_LIMIT) return
// Increment a try counter. // Increment a try counter.
txMeta.retryCount++ txMeta.retryCount++
const rawTx = txMeta.rawTx const rawTx = txMeta.rawTx