lightningd: pass disconnect flag to subd's errcb.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1496,9 +1496,9 @@ static unsigned int onchain_msg(struct subd *sd, const u8 *msg, const int *fds U
|
||||
static void onchain_error(struct channel *channel,
|
||||
struct peer_fd *pps UNUSED,
|
||||
const char *desc,
|
||||
bool warning UNUSED,
|
||||
bool aborted UNUSED,
|
||||
const u8 *err_for_them UNUSED)
|
||||
const u8 *err_for_them UNUSED,
|
||||
bool disconnect UNUSED,
|
||||
bool warning UNUSED)
|
||||
{
|
||||
channel_set_owner(channel, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user