Commit 2adb8ee
committed
Don't generate a
The `Channel::get_shutdown` docs are very clear - if the channel
jumps to `Shutdown` as a result of not being funded when we go to
initiate shutdown we should not generate a `ChannelMonitorUpdate`
as there's no need to bother with the shutdown script - we're
force-closing anyway.
However, this wasn't actually implemented, potentially causing a
spurious monitor update for no reason.ChannelMonitorUpdate for closed chans on shutdown1 parent 685b08d commit 2adb8ee
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5965 | 5965 | | |
5966 | 5966 | | |
5967 | 5967 | | |
| 5968 | + | |
| 5969 | + | |
| 5970 | + | |
| 5971 | + | |
| 5972 | + | |
| 5973 | + | |
| 5974 | + | |
5968 | 5975 | | |
5969 | 5976 | | |
5970 | | - | |
| 5977 | + | |
5971 | 5978 | | |
5972 | 5979 | | |
5973 | 5980 | | |
5974 | 5981 | | |
5975 | 5982 | | |
5976 | 5983 | | |
5977 | 5984 | | |
| 5985 | + | |
5978 | 5986 | | |
5979 | 5987 | | |
5980 | 5988 | | |
| |||
0 commit comments