File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4949,13 +4949,13 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
49494949 .iter()
49504950 .find(|funding| funding.funding_txid() == txid)
49514951 {
4952- debug_assert !(self.alternative_funding_confirmed.is_none());
4953- debug_assert !(
4952+ assert !(self.alternative_funding_confirmed.is_none());
4953+ assert !(
49544954 !self.onchain_events_awaiting_threshold_conf.iter()
49554955 .any(|e| matches!(e.event, OnchainEvent::AlternativeFundingConfirmation {}))
49564956 );
4957- debug_assert !(self.funding_spend_confirmed.is_none());
4958- debug_assert !(
4957+ assert !(self.funding_spend_confirmed.is_none());
4958+ assert !(
49594959 !self.onchain_events_awaiting_threshold_conf.iter()
49604960 .any(|e| matches!(e.event, OnchainEvent::FundingSpendConfirmation { .. }))
49614961 );
You can’t perform that action at this time.
0 commit comments