mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
dd79813a75
The spec says to close the channel if they send us an error, but we need to be more lenient to preserve channels with other implementations. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
544 B
544 B
1 | #include <common/per_peer_state.h> |
---|---|
2 | # An error occurred: if error_for_them, that to go to them. |
3 | msgtype,status_peer_error,0xFFF4 |
4 | # This is implied if error_for_them, but master tries not to parse packets. |
5 | msgdata,status_peer_error,channel,channel_id, |
6 | msgdata,status_peer_error,desc,wirestring, |
7 | # Take a deep breath, then try reconnecting to the precious little snowflake. |
8 | msgdata,status_peer_error,soft_error,bool, |
9 | msgdata,status_peer_error,pps,per_peer_state, |
10 | msgdata,status_peer_error,len,u16, |
11 | msgdata,status_peer_error,error_for_them,u8,len |