@@ -2352,11 +2352,11 @@ fn test_justice_tx() {
23522352 let mut alice_config = UserConfig :: default ( ) ;
23532353 alice_config. channel_handshake_config . announced_channel = true ;
23542354 alice_config. channel_handshake_limits . force_announced_channel_preference = false ;
2355- alice_config. channel_handshake_config . our_to_self_delay = 6 * 24 * 5 ;
2355+ alice_config. channel_handshake_config . our_to_self_delay = 1008 + 288 ;
23562356 let mut bob_config = UserConfig :: default ( ) ;
23572357 bob_config. channel_handshake_config . announced_channel = true ;
23582358 bob_config. channel_handshake_limits . force_announced_channel_preference = false ;
2359- bob_config. channel_handshake_config . our_to_self_delay = 6 * 24 * 3 ;
2359+ bob_config. channel_handshake_config . our_to_self_delay = 1008 + 144 ;
23602360 let user_cfgs = [ Some ( alice_config) , Some ( bob_config) ] ;
23612361 let mut chanmon_cfgs = create_chanmon_cfgs ( 2 ) ;
23622362 chanmon_cfgs[ 0 ] . keys_manager . disable_revocation_policy_check = true ;
@@ -7608,14 +7608,14 @@ fn test_override_channel_config() {
76087608
76097609 // Node0 initiates a channel to node1 using the override config.
76107610 let mut override_config = UserConfig :: default ( ) ;
7611- override_config. channel_handshake_config . our_to_self_delay = 200 ;
7611+ override_config. channel_handshake_config . our_to_self_delay = 1018 ;
76127612
76137613 nodes[ 0 ] . node . create_channel ( nodes[ 1 ] . node . get_our_node_id ( ) , 16_000_000 , 12_000_000 , 42 , Some ( override_config) ) . unwrap ( ) ;
76147614
76157615 // Assert the channel created by node0 is using the override config.
76167616 let res = get_event_msg ! ( nodes[ 0 ] , MessageSendEvent :: SendOpenChannel , nodes[ 1 ] . node. get_our_node_id( ) ) ;
76177617 assert_eq ! ( res. channel_flags, 0 ) ;
7618- assert_eq ! ( res. to_self_delay, 200 ) ;
7618+ assert_eq ! ( res. to_self_delay, 1018 ) ;
76197619}
76207620
76217621#[ test]
@@ -8889,7 +8889,7 @@ fn do_test_tx_confirmed_skipping_blocks_immediate_broadcast(test_height_before_t
88898889
88908890 let conf_height = nodes[ 1 ] . best_block_info ( ) . 1 ;
88918891 if !test_height_before_timelock {
8892- connect_blocks ( & nodes[ 1 ] , 24 * 6 ) ;
8892+ connect_blocks ( & nodes[ 1 ] , BREAKDOWN_TIMEOUT as u32 ) ;
88938893 }
88948894 nodes[ 1 ] . chain_monitor . chain_monitor . transactions_confirmed (
88958895 & nodes[ 1 ] . get_block_header ( conf_height) , & [ ( 0 , & node_txn[ 0 ] ) ] , conf_height) ;
0 commit comments