@@ -2840,6 +2840,8 @@ fn do_channel_holding_cell_serialize(disconnect: bool, reload_a: bool) {
28402840 claim_payment ( & nodes[ 0 ] , & [ & nodes[ 1 ] ] , payment_preimage_1) ;
28412841 claim_payment ( & nodes[ 0 ] , & [ & nodes[ 1 ] ] , payment_preimage_2) ;
28422842}
2843+
2844+ #[ cfg( not( feature = "safe_channels" ) ) ]
28432845#[ test]
28442846fn channel_holding_cell_serialize ( ) {
28452847 do_channel_holding_cell_serialize ( true , true ) ;
@@ -3313,6 +3315,7 @@ fn do_test_outbound_reload_without_init_mon(use_0conf: bool) {
33133315 assert ! ( nodes[ 0 ] . node. list_channels( ) . is_empty( ) ) ;
33143316}
33153317
3318+ #[ cfg( not( feature = "safe_channels" ) ) ]
33163319#[ test]
33173320fn test_outbound_reload_without_init_mon ( ) {
33183321 do_test_outbound_reload_without_init_mon ( true ) ;
@@ -3421,6 +3424,7 @@ fn do_test_inbound_reload_without_init_mon(use_0conf: bool, lock_commitment: boo
34213424 assert ! ( nodes[ 1 ] . node. list_channels( ) . is_empty( ) ) ;
34223425}
34233426
3427+ #[ cfg( not( feature = "safe_channels" ) ) ]
34243428#[ test]
34253429fn test_inbound_reload_without_init_mon ( ) {
34263430 do_test_inbound_reload_without_init_mon ( true , true ) ;
@@ -3570,6 +3574,7 @@ fn do_test_blocked_chan_preimage_release(completion_mode: BlockedUpdateComplMode
35703574 expect_payment_sent ( & nodes[ 2 ] , payment_preimage_2, None , true , true ) ;
35713575}
35723576
3577+ #[ cfg( not( feature = "safe_channels" ) ) ]
35733578#[ test]
35743579fn test_blocked_chan_preimage_release ( ) {
35753580 do_test_blocked_chan_preimage_release ( BlockedUpdateComplMode :: AtReload ) ;
@@ -3760,6 +3765,7 @@ fn do_test_inverted_mon_completion_order(
37603765 expect_payment_sent ( & nodes[ 0 ] , payment_preimage, None , true , true ) ;
37613766}
37623767
3768+ #[ cfg( not( feature = "safe_channels" ) ) ]
37633769#[ test]
37643770fn test_inverted_mon_completion_order ( ) {
37653771 do_test_inverted_mon_completion_order ( true , true ) ;
@@ -3962,6 +3968,7 @@ fn do_test_durable_preimages_on_closed_channel(
39623968 }
39633969}
39643970
3971+ #[ cfg( not( feature = "safe_channels" ) ) ]
39653972#[ test]
39663973fn test_durable_preimages_on_closed_channel ( ) {
39673974 do_test_durable_preimages_on_closed_channel ( true , true , true ) ;
@@ -4086,6 +4093,7 @@ fn do_test_reload_mon_update_completion_actions(close_during_reload: bool) {
40864093 send_payment ( & nodes[ 1 ] , & [ & nodes[ 2 ] ] , 100_000 ) ;
40874094}
40884095
4096+ #[ cfg( not( feature = "safe_channels" ) ) ]
40894097#[ test]
40904098fn test_reload_mon_update_completion_actions ( ) {
40914099 do_test_reload_mon_update_completion_actions ( true ) ;
@@ -4454,6 +4462,7 @@ fn do_test_partial_claim_mon_update_compl_actions(reload_a: bool, reload_b: bool
44544462 assert ! ( !get_monitor!( nodes[ 3 ] , chan_4_id) . get_stored_preimages( ) . contains_key( & payment_hash) ) ;
44554463}
44564464
4465+ #[ cfg( not( feature = "safe_channels" ) ) ]
44574466#[ test]
44584467fn test_partial_claim_mon_update_compl_actions ( ) {
44594468 do_test_partial_claim_mon_update_compl_actions ( true , true ) ;
0 commit comments