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.
ChannelContext::get_next_{local, remote}_commitment_stats
1 parent 265218a commit 32dcbc7Copy full SHA for 32dcbc7
lightning/src/ln/channel.rs
@@ -4139,7 +4139,7 @@ where
4139
.pending_outbound_htlcs
4140
.iter()
4141
.filter(|OutboundHTLCOutput { state, .. }| match (state, local) {
4142
- (OutboundHTLCState::LocalAnnounced(..), _) => if include_counterparty_unknown_htlcs { true } else { false },
+ (OutboundHTLCState::LocalAnnounced(..), _) => include_counterparty_unknown_htlcs,
4143
(OutboundHTLCState::Committed, _) => true,
4144
(OutboundHTLCState::RemoteRemoved(..), true) => false,
4145
(OutboundHTLCState::RemoteRemoved(..), false) => true,
0 commit comments