mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
filter by network for pending txs
This commit is contained in:
parent
5bb84f6e21
commit
9c9165e930
@ -47,8 +47,10 @@ module.exports = class TransactionController extends EventEmitter {
|
|||||||
},
|
},
|
||||||
publishTransaction: this.txProviderUtil.publishTransaction.bind(this.txProviderUtil),
|
publishTransaction: this.txProviderUtil.publishTransaction.bind(this.txProviderUtil),
|
||||||
getPendingTransactions: () => {
|
getPendingTransactions: () => {
|
||||||
|
const network = this.getNetwork()
|
||||||
return this.getFilteredTxList({
|
return this.getFilteredTxList({
|
||||||
status: 'submitted',
|
status: 'submitted',
|
||||||
|
metamaskNetworkId: network,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user