mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
tx manager - emit update on new unapproved tx
This commit is contained in:
parent
0d20b54854
commit
6310a05dae
@ -79,8 +79,9 @@ module.exports = class TransactionManager extends EventEmitter {
|
||||
fullTxList.splice(index, 1)
|
||||
}
|
||||
fullTxList.push(txMeta)
|
||||
|
||||
this._saveTxList(fullTxList)
|
||||
this.emit('update')
|
||||
|
||||
this.once(`${txMeta.id}:signed`, function (txId) {
|
||||
this.removeAllListeners(`${txMeta.id}:rejected`)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user