1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +01:00

transactions - fail txs on boot who fail addTxDefaults

This commit is contained in:
frankiebee 2018-01-17 15:48:37 -08:00
parent 9f19fea8e0
commit be8d924432

View File

@ -52,6 +52,8 @@ module.exports = class TransactionController extends EventEmitter {
.then((txMeta) => {
txMeta.loadingDefaults = false
this.txStateManager.updateTx(txMeta, 'transactions: gas estimation for tx on boot')
}).catch((error) => {
this.txStateManager.setTxStatusFailed(tx.id, error)
})
})