Skip to content

Commit 6e44026

Browse files
committed
f simplify match
1 parent 919a1b0 commit 6e44026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ impl ChannelState {
677677
fn is_pre_funded_state(&self) -> bool {
678678
match self {
679679
ChannelState::NegotiatingFunding(_) => true,
680-
ChannelState::FundingNegotiated(flags) if !flags.is_their_tx_signatures_sent() && !flags.is_our_tx_signatures_ready() => true,
680+
ChannelState::FundingNegotiated(flags) => !flags.is_their_tx_signatures_sent() && !flags.is_our_tx_signatures_ready(),
681681
_ => false,
682682
}
683683
}

0 commit comments

Comments
 (0)