Commit 111c0ec
committed
channeld: reject
When `option_simple_close` is negotiated the master launches `simpleclosed`
after `channeld` exits, so `closing_complete` and `closing_sig` should never
arrive inside `channeld`. Add stubs that call peer_failed_warn() with an
informative message rather than hitting the default unknown-message path.closing_complete and closing_sig with a clear error1 parent 9ba995c commit 111c0ec
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5205 | 5205 | | |
5206 | 5206 | | |
5207 | 5207 | | |
| 5208 | + | |
| 5209 | + | |
5208 | 5210 | | |
5209 | 5211 | | |
5210 | 5212 | | |
5211 | 5213 | | |
5212 | 5214 | | |
5213 | 5215 | | |
5214 | | - | |
5215 | | - | |
5216 | 5216 | | |
5217 | 5217 | | |
5218 | 5218 | | |
5219 | 5219 | | |
5220 | 5220 | | |
5221 | 5221 | | |
5222 | 5222 | | |
| 5223 | + | |
| 5224 | + | |
| 5225 | + | |
| 5226 | + | |
| 5227 | + | |
5223 | 5228 | | |
5224 | 5229 | | |
5225 | 5230 | | |
| |||
0 commit comments