|
|
@ -404,6 +404,8 @@ const channelsSelector = state => state.channels.channels |
|
|
|
const pendingOpenChannelsSelector = state => state.channels.pendingChannels.pending_open_channels |
|
|
|
const pendingClosedChannelsSelector = state => |
|
|
|
state.channels.pendingChannels.pending_closing_channels |
|
|
|
const pendingWaitingCloseChannelsSelector = state => |
|
|
|
state.channels.pendingChannels.waiting_close_channels |
|
|
|
const pendingForceClosedChannelsSelector = state => |
|
|
|
state.channels.pendingChannels.pending_force_closing_channels |
|
|
|
const waitingCloseChannelsSelector = state => state.channels.pendingChannels.waiting_close_channels |
|
|
@ -457,9 +459,11 @@ channelsSelectors.pendingOpenChannelPubkeys = createSelector( |
|
|
|
channelsSelectors.closingPendingChannels = createSelector( |
|
|
|
pendingClosedChannelsSelector, |
|
|
|
pendingForceClosedChannelsSelector, |
|
|
|
(pendingClosedChannels, pendingForcedClosedChannels) => [ |
|
|
|
pendingWaitingCloseChannelsSelector, |
|
|
|
(pendingClosedChannels, pendingForcedClosedChannels, pendingWaitingCloseChannels) => [ |
|
|
|
...pendingClosedChannels, |
|
|
|
...pendingForcedClosedChannels |
|
|
|
...pendingForcedClosedChannels, |
|
|
|
...pendingWaitingCloseChannels |
|
|
|
] |
|
|
|
) |
|
|
|
|
|
|
|