1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge pull request #1684 from MetaMask/neverGiveUp

dont stop retrying brodcasting txs
This commit is contained in:
Thomas Huang 2017-06-27 14:30:39 -07:00 committed by GitHub
commit 215948dc38
2 changed files with 1 additions and 4 deletions

View File

@ -2,6 +2,7 @@
## Current Master
- No longer stop rebroadcasting transactions
- Add list of popular tokens held to the account detail view.
- Add a warning to JSON file import.
- 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 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