File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2796,7 +2796,8 @@ fn do_no_missing_sent_on_midpoint_reload(persist_manager_with_payment: bool) {
2796
2796
// the double-claim that would otherwise appear at the end of this test.
2797
2797
2798
2798
// Ensure that, even after some time, if we restart we still include *something* in the current
2799
- // `ChannelManager` which prevents a `PaymentFailed` when we see the HTLC again on-chain later.
2799
+ // `ChannelManager` which prevents a `PaymentFailed` when we restart even if pending resolved
2800
+ // payments have since been timed out thanks to `IDEMPOTENCY_TIMEOUT_TICKS`.
2800
2801
// A naive implementation of the fix here would wipe the pending payments set, causing a
2801
2802
// failure event when we restart.
2802
2803
for _ in 0 ..( IDEMPOTENCY_TIMEOUT_TICKS * 2 ) { nodes[ 0 ] . node . timer_tick_occurred ( ) ; }
You can’t perform that action at this time.
0 commit comments