Skip to content

Commit 4621e97

Browse files
committed
f simplify match
1 parent 5cd15df commit 4621e97

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
@@ -678,7 +678,7 @@ impl ChannelState {
678678
fn is_pre_funded_state(&self) -> bool {
679679
match self {
680680
ChannelState::NegotiatingFunding(_) => true,
681-
ChannelState::FundingNegotiated(flags) if !flags.is_their_tx_signatures_sent() && !flags.is_our_tx_signatures_ready() => true,
681+
ChannelState::FundingNegotiated(flags) => !flags.is_their_tx_signatures_sent() && !flags.is_our_tx_signatures_ready(),
682682
_ => false,
683683
}
684684
}

0 commit comments

Comments
 (0)