File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -7685,12 +7685,7 @@ where
7685
7685
let _persistence_guard = PersistenceNotifierGuard::notify_on_drop(self);
7686
7686
7687
7687
let peers_without_funded_channels =
7688
- self.peers_without_funded_channels(|peer| {
7689
- // We shouldn't consider peer entries for any peers that either have no funded
7690
- // channels or are disconnected and had some funded channel in the past (and we're
7691
- // just keeping the entry around for closed_channel_monitor_update_ids).
7692
- peer.total_channel_count() > 0 || (!peer.is_connected && peer.closed_channel_monitor_update_ids.len() > 0)
7693
- });
7688
+ self.peers_without_funded_channels(|peer| { peer.total_channel_count() > 0 });
7694
7689
let per_peer_state = self.per_peer_state.read().unwrap();
7695
7690
let peer_state_mutex = per_peer_state.get(counterparty_node_id)
7696
7691
.ok_or_else(|| {
You can’t perform that action at this time.
0 commit comments