File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1217,11 +1217,12 @@ fn simple_target_feerate_shutdown() {
1217
1217
}
1218
1218
1219
1219
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.
1225
1226
let chanmon_cfgs = create_chanmon_cfgs ( 2 ) ;
1226
1227
let node_cfgs = create_node_cfgs ( 2 , & chanmon_cfgs) ;
1227
1228
let node_chanmgrs = create_node_chanmgrs ( 2 , & node_cfgs, & [ None , None ] ) ;
You can’t perform that action at this time.
0 commit comments