transactions - transtion approved transactions to failed transactions on boot

feature/default_network_editable
frankiebee 7 years ago
parent 7c380547b7
commit 234c2417ca
  1. 8
      app/scripts/controllers/transactions.js

@ -57,6 +57,14 @@ module.exports = class TransactionController extends EventEmitter {
})
})
this.txStateManager.getFilteredTxList({
status: 'approved',
}).forEach((txMeta) => {
const txSignError = new Error('Transaction was interrupted during signing process')
this.txStateManager.setTxStatusFailed(txMeta.id, txSignError)
})
this.store = this.txStateManager.store
this.txStateManager.on('tx:status-update', this.emit.bind(this, 'tx:status-update'))
this.nonceTracker = new NonceTracker({

Loading…
Cancel
Save