Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix(ui): fix channel capactiy sort
Browse files Browse the repository at this point in the history
fix #3633
  • Loading branch information
mrfelton committed Sep 23, 2020
1 parent 5f595ad commit 331cacc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/reducers/channels/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const getStatus = (channelObj, closingChannelIds = [], loadingChannelPubK
export const getChannelEffectiveCapacity = channel =>
CoinBig(get(channel, 'localBalance', 0))
.plus(CoinBig(get(channel, 'remoteBalance', 0)))
.toString()
.toNumber()

/**
* decorateChannel - Decorate a channel object with additional calculated properties.
Expand Down

0 comments on commit 331cacc

Please # to comment.