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 f1abbb6 commit 7c8f482Copy full SHA for 7c8f482
lightning/src/ln/channelmanager.rs
@@ -6370,7 +6370,7 @@ where
6370
let mut peer_state_lock = peer_state_mutex.lock().unwrap();
6371
let peer_state = &mut *peer_state_lock;
6372
for (chan_id, chan) in peer_state.channel_by_id.iter_mut().filter_map(
6373
- |(chan_id, channel)| channel.get_funded_channel().map(|chan| (chan_id, chan))
+ |(chan_id, channel)| if let ChannelPhase::Funded(chan) = channel.phase_mut() { Some((chan_id, chan)) } else { None }
6374
) {
6375
let new_feerate = if chan.context.get_channel_type().supports_anchors_zero_fee_htlc_tx() {
6376
anchor_feerate
0 commit comments