1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00

Add missing tx manager state

This commit is contained in:
Dan Finlay 2017-04-24 13:55:33 -07:00
parent bce4af2dca
commit d05d9a5f57

View File

@ -373,6 +373,7 @@ module.exports = class TransactionManager extends EventEmitter {
// - `'signed'` the tx is signed
// - `'submitted'` the tx is sent to a server
// - `'confirmed'` the tx has been included in a block.
// - `'failed'` the tx failed for some reason, included on tx data.
_setTxStatus (txId, status) {
var txMeta = this.getTx(txId)
txMeta.status = status