File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1843,14 +1843,14 @@ impl Node {
18431843
18441844 // Check if this was the last open channel, if so, forget the peer.
18451845 //For force-closes we keep the peer
1846- // in the store so the background reconnection task can fire and
1847- // complete the channel_reestablish recovery flow. This is especially
1848- // important for LND peers
1846+ // in the store so the background reconnection task can fire and
1847+ // complete the channel_reestablish recovery flow. This is especially
1848+ // important for LND peers
18491849 // The peer will be removed by the ChannelClosed event handler once
1850- // the counterparty reconnects and confirms closure.
1850+ // the counterparty reconnects and confirms closure.
18511851 if open_channels. len ( ) == 1 && !force {
18521852 self . peer_store . remove_peer ( & counterparty_node_id) ?;
1853- }
1853+ }
18541854 }
18551855
18561856 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments