Browse Source

Merge pull request #292 from LN-Zap/fix/activity-ordering

fix(funding-txs-odering)
renovate/lint-staged-8.x
JimmyMow 7 years ago
committed by GitHub
parent
commit
eba10fa146
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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