Filter out pending txs based on network from tx history

feature/default_network_editable
Frankie 8 years ago
parent 03c84cff69
commit 5f8d3085d7
  1. 2
      ui/app/account-detail.js

@ -235,7 +235,7 @@ AccountDetailScreen.prototype.subview = function () {
AccountDetailScreen.prototype.transactionList = function () { AccountDetailScreen.prototype.transactionList = function () {
const { transactions, unconfTxs, unconfMsgs, address, network, shapeShiftTxList } = this.props 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 // only transactions that are from the current address
.filter(tx => tx.txParams.from === address) .filter(tx => tx.txParams.from === address)
// only transactions that are on the current network // only transactions that are on the current network

Loading…
Cancel
Save