mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
common: add peer_error flag to treat this error as "soft".
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>
This commit is contained in:
@@ -416,6 +416,7 @@ static void onchain_error(struct channel *channel,
|
||||
struct per_peer_state *pps UNUSED,
|
||||
const struct channel_id *channel_id UNUSED,
|
||||
const char *desc,
|
||||
bool soft_error UNUSED,
|
||||
const u8 *err_for_them UNUSED)
|
||||
{
|
||||
/* FIXME: re-launch? */
|
||||
|
||||
Reference in New Issue
Block a user