Commit 0866405
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 3da69f7 commit 0866405
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3554 | 3554 | | |
3555 | 3555 | | |
3556 | 3556 | | |
| 3557 | + | |
| 3558 | + | |
| 3559 | + | |
| 3560 | + | |
| 3561 | + | |
| 3562 | + | |
| 3563 | + | |
3557 | 3564 | | |
3558 | 3565 | | |
3559 | 3566 | | |
| |||
5317 | 5324 | | |
5318 | 5325 | | |
5319 | 5326 | | |
5320 | | - | |
| 5327 | + | |
5321 | 5328 | | |
5322 | 5329 | | |
5323 | 5330 | | |
| |||
9016 | 9023 | | |
9017 | 9024 | | |
9018 | 9025 | | |
9019 | | - | |
9020 | | - | |
9021 | | - | |
9022 | | - | |
| 9026 | + | |
9023 | 9027 | | |
9024 | 9028 | | |
9025 | 9029 | | |
| |||
0 commit comments