Skip to content

Commit

Permalink
!fixup
Browse files Browse the repository at this point in the history
Log this so I can try to find dual fund connnectd race.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed May 11, 2021
1 parent d8e6889 commit e960b10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions connectd/connectd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e960b10

Please sign in to comment.