Repository navigation
Commit ad5a05c
Retry the close in
The client closes its JIT channel right after `PaymentReceived`, while it
may still be persisting the monitor updates for settling the HTLC it just
claimed. LDK won't begin a cooperative shutdown while a monitor update is
in flight, so under load `close_channel` failed with
`ChannelClosingFailed`. Retry it until the updates are through, polling
like the test already does for the pruning.
This change was written with the assistance of Claude Code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>lsps2_service_prunes_closed_channel_state
1 parent 6a47fb1 commit ad5a05c
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8790 | 8790 | | |
8791 | 8791 | | |
8792 | 8792 | | |
8793 | | - | |
| 8793 | + | |
| 8794 | + | |
| 8795 | + | |
| 8796 | + | |
| 8797 | + | |
| 8798 | + | |
| 8799 | + | |
| 8800 | + | |
| 8801 | + | |
8794 | 8802 | | |
8795 | 8803 | | |
8796 | 8804 | | |
| |||
0 commit comments