Skip to content

Commit 1d14942

Browse files
committed
f mention fees in test
1 parent 05722b6 commit 1d14942

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lightning/src/ln/shutdown_tests.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,11 +1212,12 @@ fn simple_target_feerate_shutdown() {
12121212
}
12131213

12141214
fn do_outbound_update_no_early_closing_signed(use_htlc: bool) {
1215-
// Previously, if we have a pending inbound HTLC on a channel which has initiated shutdown,
1216-
// we'd send our initial closing_signed immediately after receiving the peer's last RAA to
1217-
// remove the HTLC, but before receiving their final commitment_signed for a commitment without
1218-
// the HTLC. This caused at least LDK peers to force-close as we initiated closing_signed prior
1219-
// to the channel actually being fully empty of HTLCs.
1215+
// Previously, if we have a pending inbound HTLC (or fee update) on a channel which has
1216+
// initiated shutdown, we'd send our initial closing_signed immediately after receiving the
1217+
// peer's last RAA to remove the HTLC/fee update, but before receiving their final
1218+
// commitment_signed for a commitment without the HTLC/with the new fee. This caused at least
1219+
// LDK peers to force-close as we initiated closing_signed prior to the channel actually being
1220+
// fully empty of pending updates/HTLCs.
12201221
let chanmon_cfgs = create_chanmon_cfgs(2);
12211222
let node_cfgs = create_node_cfgs(2, &chanmon_cfgs);
12221223
let node_chanmgrs = create_node_chanmgrs(2, &node_cfgs, &[None, None]);

0 commit comments

Comments
 (0)