1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02: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)