We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24090fa commit 30748adCopy full SHA for 30748ad
lightning/src/ln/channelmanager.rs
@@ -13872,6 +13872,7 @@ where
13872
// payments. This avoids edge-cases around MPP payments resulting in redundant actions.
13873
for (_, monitor) in args.channel_monitors.iter() {
13874
let counterparty_opt = outpoint_to_peer.get(&monitor.get_funding_txo().0);
13875
+ // outpoint_to_peer missing the funding outpoint implies the channel is closed
13876
if counterparty_opt.is_none() {
13877
for (htlc_source, (htlc, _)) in monitor.get_pending_or_resolved_outbound_htlcs() {
13878
let logger = WithChannelMonitor::from(&args.logger, monitor, Some(htlc.payment_hash));
0 commit comments