Log this so I can try to find dual fund connnectd race.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2021-05-06 11:17:49 +09:30
parent d8e68893f5
commit e960b1015d

View File

@ -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);