Skip to content

Commit

Permalink
Minor build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
optout21 committed Nov 21, 2024
1 parent f1abbb6 commit 7c8f482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/channelmanager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6370,7 +6370,7 @@ where
let mut peer_state_lock = peer_state_mutex.lock().unwrap();
let peer_state = &mut *peer_state_lock;
for (chan_id, chan) in peer_state.channel_by_id.iter_mut().filter_map(
|(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 }
) {
let new_feerate = if chan.context.get_channel_type().supports_anchors_zero_fee_htlc_tx() {
anchor_feerate
Expand Down

0 comments on commit 7c8f482

Please sign in to comment.