@@ -66,7 +66,7 @@ use crate::ln::chan_utils::CommitmentTransaction;
6666use super::channel::UNFUNDED_CHANNEL_AGE_LIMIT_TICKS;
6767
6868#[xtest(feature = "_externalize_tests")]
69- fn test_channel_resumption_fail_post_funding() {
69+ pub fn test_channel_resumption_fail_post_funding() {
7070 // If we fail to exchange funding with a peer prior to it disconnecting we'll resume the
7171 // channel open on reconnect, however if we do exchange funding we do not currently support
7272 // replaying it and here test that the channel closes.
@@ -2899,7 +2899,7 @@ pub fn claim_htlc_outputs() {
28992899//
29002900// This is a regression test for https://github.com/lightningdevkit/rust-lightning/issues/3537.
29012901#[xtest(feature = "_externalize_tests")]
2902- fn test_multiple_package_conflicts() {
2902+ pub fn test_multiple_package_conflicts() {
29032903 let chanmon_cfgs = create_chanmon_cfgs(3);
29042904 let node_cfgs = create_node_cfgs(3, &chanmon_cfgs);
29052905 let mut user_cfg = test_default_channel_config();
@@ -5047,7 +5047,7 @@ pub fn test_static_spendable_outputs_timeout_tx() {
50475047 check_spends!(spend_txn[2], node_txn[0], commitment_tx[0]); // All outputs
50485048}
50495049
5050- pub fn do_test_static_spendable_outputs_justice_tx_revoked_commitment_tx(split_tx: bool) {
5050+ fn do_test_static_spendable_outputs_justice_tx_revoked_commitment_tx(split_tx: bool) {
50515051 let chanmon_cfgs = create_chanmon_cfgs(2);
50525052 let node_cfgs = create_node_cfgs(2, &chanmon_cfgs);
50535053 let node_chanmgrs = create_node_chanmgrs(2, &node_cfgs, &[None, None]);
@@ -10603,7 +10603,7 @@ pub fn test_max_dust_htlc_exposure() {
1060310603}
1060410604
1060510605#[xtest(feature = "_externalize_tests")]
10606- fn test_nondust_htlc_excess_fees_are_dust() {
10606+ pub fn test_nondust_htlc_excess_fees_are_dust() {
1060710607 // Test that the excess transaction fees paid in nondust HTLCs count towards our dust limit
1060810608 const DEFAULT_FEERATE: u32 = 253;
1060910609 const HIGH_FEERATE: u32 = 275;
@@ -11943,7 +11943,7 @@ pub fn test_manual_funding_abandon() {
1194311943}
1194411944
1194511945#[xtest(feature = "_externalize_tests")]
11946- fn test_funding_signed_event() {
11946+ pub fn test_funding_signed_event() {
1194711947 let mut cfg = UserConfig::default();
1194811948 cfg.channel_handshake_config.minimum_depth = 1;
1194911949 let chanmon_cfgs = create_chanmon_cfgs(2);
0 commit comments