We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12f06c3 commit 4ac2a04Copy full SHA for 4ac2a04
lightning/src/ln/channel.rs
@@ -4176,8 +4176,8 @@ impl<SP: Deref> Channel<SP> where
4176
// first received the funding_signed.
4177
let mut funding_broadcastable =
4178
if self.context.is_outbound() &&
4179
- matches!(self.context.channel_state, ChannelState::AwaitingChannelReady(flags) if !flags.is_set(AwaitingChannelReadyFlags::WAITING_FOR_BATCH)) ||
4180
- matches!(self.context.channel_state, ChannelState::ChannelReady(_))
+ (matches!(self.context.channel_state, ChannelState::AwaitingChannelReady(flags) if !flags.is_set(AwaitingChannelReadyFlags::WAITING_FOR_BATCH)) ||
+ matches!(self.context.channel_state, ChannelState::ChannelReady(_)))
4181
{
4182
self.context.funding_transaction.take()
4183
} else { None };
0 commit comments