1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

use txMeta.txParams

This commit is contained in:
Bruno Barbieri 2018-01-31 04:40:32 -05:00
parent 03d17c75ae
commit 7dc1b09f94

View File

@ -226,7 +226,7 @@ module.exports = class TransactionStateManger extends EventEmitter {
const txs = this.getTxList()
// Filter out the ones from the current account
const otherAccountTxs = txs.filter((txMeta) => txMeta.from !== address)
const otherAccountTxs = txs.filter((txMeta) => txMeta.txParams.from !== address)
// Update state
this._saveTxList(otherAccountTxs)