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

Commit

Permalink
fix(ui): only count active channels as usable capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed Sep 23, 2020
1 parent 5f595ad commit 112cf87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderer/reducers/channels/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ channelsSelectors.selectedChannel = createSelector(
)

channelsSelectors.capacity = createSelector(
channelsSelectors.allChannelsRaw,
channelsSelectors.activeChannels,
infoSelectors.hasMppSupport,
(allChannels, hasMppSupport) => {
let maxOneTimeSend = 0
Expand Down

0 comments on commit 112cf87

Please # to comment.