Skip to content

Commit aecf6b8

Browse files
committed
f simplify match
1 parent 5fbb07e commit aecf6b8

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
@@ -682,7 +682,7 @@ impl ChannelState {
682682
fn is_pre_funded_state(&self) -> bool {
683683
match self {
684684
ChannelState::NegotiatingFunding(_) => true,
685-
ChannelState::FundingNegotiated(flags) if !flags.is_their_tx_signatures_sent() && !flags.is_our_tx_signatures_ready() => true,
685+
ChannelState::FundingNegotiated(flags) => !flags.is_their_tx_signatures_sent() && !flags.is_our_tx_signatures_ready(),
686686
_ => false,
687687
}
688688
}

0 commit comments

Comments
 (0)