Skip to content

Commit 7c8f482

Browse files
committed
Minor build fix
1 parent f1abbb6 commit 7c8f482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6370,7 +6370,7 @@ where
63706370
let mut peer_state_lock = peer_state_mutex.lock().unwrap();
63716371
let peer_state = &mut *peer_state_lock;
63726372
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))
6373+
|(chan_id, channel)| if let ChannelPhase::Funded(chan) = channel.phase_mut() { Some((chan_id, chan)) } else { None }
63746374
) {
63756375
let new_feerate = if chan.context.get_channel_type().supports_anchors_zero_fee_htlc_tx() {
63766376
anchor_feerate

0 commit comments

Comments
 (0)