Commit 3239d67
committed
Correct channel closed detection in payment state replay
While the case of not having a per-peer-state for a peer that we
have a `ChannelMonitor` with should be unreachable by this point in
`ChannelManager` loading (we have to at least store the latest
update id of the monitor in the peer state), considering a channel
as still-live and not replaying its payment state when we don't
have a per-peer-state is wrong, so here we fix it.1 parent 8106dbf commit 3239d67
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16455 | 16455 | | |
16456 | 16456 | | |
16457 | 16457 | | |
16458 | | - | |
| 16458 | + | |
16459 | 16459 | | |
16460 | 16460 | | |
16461 | 16461 | | |
| |||
16495 | 16495 | | |
16496 | 16496 | | |
16497 | 16497 | | |
16498 | | - | |
| 16498 | + | |
16499 | 16499 | | |
16500 | 16500 | | |
16501 | 16501 | | |
| |||
0 commit comments