Commit 5e6e74c
committed
Fix
When a channel is force-closed, there might be blocked monitor updates
not yet applied. But `latest_monitor_update_id` has been incremented and
assigned to these updates. This results in a panic when trying to apply
the `ChannelForceClosed` update. Use the unblocked update id instead.
Resolves: #3857update_id gap during force_shutdown
1 parent 3333b6d commit 5e6e74c
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3440 | 3440 | | |
3441 | 3441 | | |
3442 | 3442 | | |
| 3443 | + | |
| 3444 | + | |
| 3445 | + | |
| 3446 | + | |
| 3447 | + | |
| 3448 | + | |
| 3449 | + | |
3443 | 3450 | | |
3444 | 3451 | | |
3445 | 3452 | | |
| |||
5220 | 5227 | | |
5221 | 5228 | | |
5222 | 5229 | | |
5223 | | - | |
| 5230 | + | |
5224 | 5231 | | |
5225 | 5232 | | |
5226 | 5233 | | |
| |||
8582 | 8589 | | |
8583 | 8590 | | |
8584 | 8591 | | |
8585 | | - | |
8586 | 8592 | | |
8587 | | - | |
8588 | | - | |
| 8593 | + | |
8589 | 8594 | | |
8590 | 8595 | | |
8591 | 8596 | | |
| |||
0 commit comments