diff --git a/lightning/src/ln/shutdown_tests.rs b/lightning/src/ln/shutdown_tests.rs index b373b79a091..c705f51c823 100644 --- a/lightning/src/ln/shutdown_tests.rs +++ b/lightning/src/ln/shutdown_tests.rs @@ -1217,11 +1217,12 @@ fn simple_target_feerate_shutdown() { } fn do_outbound_update_no_early_closing_signed(use_htlc: bool) { - // Previously, if we have a pending inbound HTLC on a channel which has initiated shutdown, - // we'd send our initial closing_signed immediately after receiving the peer's last RAA to - // remove the HTLC, but before receiving their final commitment_signed for a commitment without - // the HTLC. This caused at least LDK peers to force-close as we initiated closing_signed prior - // to the channel actually being fully empty of HTLCs. + // Previously, if we have a pending inbound HTLC (or fee update) on a channel which has + // initiated shutdown, we'd send our initial closing_signed immediately after receiving the + // peer's last RAA to remove the HTLC/fee update, but before receiving their final + // commitment_signed for a commitment without the HTLC/with the new fee. This caused at least + // LDK peers to force-close as we initiated closing_signed prior to the channel actually being + // fully empty of pending updates/HTLCs. let chanmon_cfgs = create_chanmon_cfgs(2); let node_cfgs = create_node_cfgs(2, &chanmon_cfgs); let node_chanmgrs = create_node_chanmgrs(2, &node_cfgs, &[None, None]);