fix messy merge

feature/default_network_editable
frankiebee 7 years ago
parent 00fca4f1f2
commit 50075c6df5
  1. 8
      app/scripts/controllers/transactions.js

@ -62,10 +62,6 @@ module.exports = class TransactionController extends EventEmitter {
err: undefined,
})
},
giveUpOnTransaction: (txId) => {
const msg = `Gave up submitting after 3500 blocks un-mined.`
this.setTxStatusFailed(txId, msg)
},
})
this.pendingTxTracker = new PendingTransactionTracker({
@ -80,6 +76,10 @@ module.exports = class TransactionController extends EventEmitter {
getPendingTransactions: () => {
return this.txStateManager.getFilteredTxList({ status: 'submitted' })
},
giveUpOnTransaction: (txId) => {
const msg = `Gave up submitting after 3500 blocks un-mined.`
this.setTxStatusFailed(txId, msg)
},
})
this.txStateManager.subscribe(() => {

Loading…
Cancel
Save