Browse Source

fix(funding-txs-odering)

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
38264b0952
  1. 3
      app/reducers/activity.js

3
app/reducers/activity.js

@ -147,8 +147,9 @@ const fundedActivity = createSelector(
channelsSelector,
(transactions, channels) => {
const fundingTxIds = channels.map(channel => channel.channel_point.split(':')[0])
const fundingTxs = transactions.filter(transaction => fundingTxIds.includes(transaction.tx_hash))
return transactions.filter(transaction => fundingTxIds.includes(transaction.tx_hash))
return fundingTxs.sort((a, b) => b.time_stamp - a.time_stamp)
}
)

Loading…
Cancel
Save