Skip to content

Commit

Permalink
f mention fees in test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Sep 18, 2023
1 parent dd370e9 commit dfef4a7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lightning/src/ln/shutdown_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit dfef4a7

Please sign in to comment.