mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Filter out pending txs based on network from tx history
This commit is contained in:
parent
03c84cff69
commit
5f8d3085d7
@ -235,7 +235,7 @@ AccountDetailScreen.prototype.subview = function () {
|
||||
AccountDetailScreen.prototype.transactionList = function () {
|
||||
const { transactions, unconfTxs, unconfMsgs, address, network, shapeShiftTxList } = this.props
|
||||
|
||||
var txsToRender = transactions
|
||||
var txsToRender = transactions.concat(unconfTxs)
|
||||
// only transactions that are from the current address
|
||||
.filter(tx => tx.txParams.from === address)
|
||||
// only transactions that are on the current network
|
||||
|
Loading…
Reference in New Issue
Block a user