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> {
4949
4949
. iter ( )
4950
4950
. find ( |funding| funding. funding_txid ( ) == txid)
4951
4951
{
4952
- debug_assert ! ( self . alternative_funding_confirmed. is_none( ) ) ;
4953
- debug_assert ! (
4952
+ assert ! ( self . alternative_funding_confirmed. is_none( ) ) ;
4953
+ assert ! (
4954
4954
!self . onchain_events_awaiting_threshold_conf. iter( )
4955
4955
. any( |e| matches!( e. event, OnchainEvent :: AlternativeFundingConfirmation { } ) )
4956
4956
) ;
4957
- debug_assert ! ( self . funding_spend_confirmed. is_none( ) ) ;
4958
- debug_assert ! (
4957
+ assert ! ( self . funding_spend_confirmed. is_none( ) ) ;
4958
+ assert ! (
4959
4959
!self . onchain_events_awaiting_threshold_conf. iter( )
4960
4960
. any( |e| matches!( e. event, OnchainEvent :: FundingSpendConfirmation { .. } ) )
4961
4961
) ;
You can’t perform that action at this time.
0 commit comments