Commit 9409377
committed
Handle monitor completion actions for closed channels
If a channel has been closed, there may still be some
`ChannelMonitorUpdate`(s) which are pending completion. These
in-flight updates may also be blocking another channel from letting
an update fly, e.g. for forwarded payments where the payment
preimage will be removed from the downstream channel after the
upstream channel has closed.
Luckily all the infrastructure to handle this case is already in
place - we just need to process the
`monitor_update_blocked_actions` for closed channels.1 parent 2aa66b8 commit 9409377
1 file changed
+15
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4947 | 4947 | | |
4948 | 4948 | | |
4949 | 4949 | | |
4950 | | - | |
4951 | | - | |
4952 | | - | |
4953 | | - | |
4954 | | - | |
4955 | | - | |
| 4950 | + | |
| 4951 | + | |
| 4952 | + | |
| 4953 | + | |
| 4954 | + | |
| 4955 | + | |
| 4956 | + | |
| 4957 | + | |
| 4958 | + | |
| 4959 | + | |
| 4960 | + | |
| 4961 | + | |
4956 | 4962 | | |
4957 | 4963 | | |
4958 | 4964 | | |
4959 | 4965 | | |
4960 | 4966 | | |
4961 | 4967 | | |
4962 | | - | |
| 4968 | + | |
4963 | 4969 | | |
4964 | | - | |
| 4970 | + | |
4965 | 4971 | | |
4966 | 4972 | | |
4967 | | - | |
| 4973 | + | |
4968 | 4974 | | |
4969 | 4975 | | |
4970 | 4976 | | |
| |||
0 commit comments