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.
1 parent 182e129 commit 5fbb07eCopy full SHA for 5fbb07e
lightning/src/ln/channel.rs
@@ -3648,7 +3648,7 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
3648
3649
fn unset_funding_info(&mut self, funding: &mut FundingScope) {
3650
debug_assert!(
3651
- matches!(self.channel_state, ChannelState::FundingNegotiated(_))
+ matches!(self.channel_state, ChannelState::FundingNegotiated(flags) if !flags.is_their_tx_signatures_sent() && !flags.is_our_tx_signatures_ready())
3652
|| matches!(self.channel_state, ChannelState::AwaitingChannelReady(_))
3653
);
3654
funding.channel_transaction_parameters.funding_outpoint = None;
0 commit comments