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

filter by network for pending txs

This commit is contained in:
frankiebee 2017-08-08 21:54:26 -04:00
parent 5bb84f6e21
commit 9c9165e930

View File

@ -47,8 +47,10 @@ module.exports = class TransactionController extends EventEmitter {
},
publishTransaction: this.txProviderUtil.publishTransaction.bind(this.txProviderUtil),
getPendingTransactions: () => {
const network = this.getNetwork()
return this.getFilteredTxList({
status: 'submitted',
metamaskNetworkId: network,
})
},
})