From e960b1015dac5cb27bf429116aa4f78802f29318 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 6 May 2021 11:17:49 +0930 Subject: [PATCH] !fixup Log this so I can try to find dual fund connnectd race. Signed-off-by: Rusty Russell --- connectd/connectd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/connectd/connectd.c b/connectd/connectd.c index 0836b1e78..f932f46a3 100644 --- a/connectd/connectd.c +++ b/connectd/connectd.c @@ -1607,6 +1607,7 @@ static struct io_plan *peer_disconnected(struct io_conn *conn, "peer_disconnected unknown peer: %s", type_to_string(tmpctx, struct node_id, &id)); node_set_del(&daemon->peers, node); + status_peer_debug(&id, "disconnect"); /* Wake up in case there's a reconnecting peer waiting in io_wait. */ io_wake(node);