Commit ceb5a55
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 c48e0a8 commit ceb5a55
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3616 | 3616 | | |
3617 | 3617 | | |
3618 | 3618 | | |
| 3619 | + | |
| 3620 | + | |
| 3621 | + | |
| 3622 | + | |
| 3623 | + | |
| 3624 | + | |
| 3625 | + | |
3619 | 3626 | | |
3620 | 3627 | | |
3621 | 3628 | | |
| |||
5379 | 5386 | | |
5380 | 5387 | | |
5381 | 5388 | | |
5382 | | - | |
| 5389 | + | |
5383 | 5390 | | |
5384 | 5391 | | |
5385 | 5392 | | |
| |||
9301 | 9308 | | |
9302 | 9309 | | |
9303 | 9310 | | |
9304 | | - | |
9305 | | - | |
9306 | | - | |
9307 | | - | |
| 9311 | + | |
9308 | 9312 | | |
9309 | 9313 | | |
9310 | 9314 | | |
| |||
0 commit comments