File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -5347,11 +5347,7 @@ where
53475347 &mut self, funding: &FundingScope, mut closure_reason: ClosureReason,
53485348 ) -> ShutdownResult {
53495349 assert!(!matches!(self.channel_state, ChannelState::ShutdownComplete));
5350- let pre_funding = matches!(self.channel_state, ChannelState::NegotiatingFunding(_));
5351- let funded = matches!(self.channel_state, ChannelState::FundingNegotiated(_));
5352- let awaiting_ready = matches!(self.channel_state, ChannelState::AwaitingChannelReady(_));
5353- // TODO: allow pre-initial-monitor-storage but post-lock-in (is that a thing) closure?
5354- assert!(pre_funding || funded || awaiting_ready);
5350+ assert!(!self.is_funding_broadcast());
53555351
53565352 let unbroadcasted_batch_funding_txid = self.unbroadcasted_batch_funding_txid(funding);
53575353 let unbroadcasted_funding_tx = self.unbroadcasted_funding(funding);
You can’t perform that action at this time.
0 commit comments