Skip to content

Commit dfef4a7

Browse files
committed
f mention fees in test
1 parent dd370e9 commit dfef4a7

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
@@ -1217,11 +1217,12 @@ fn simple_target_feerate_shutdown() {
12171217
}
12181218

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

0 commit comments

Comments
 (0)