diff --git a/connectd/connect.c b/connectd/connect.c index ef94128be..b78e2ecf2 100644 --- a/connectd/connect.c +++ b/connectd/connect.c @@ -133,11 +133,11 @@ struct daemon { /* Peers we're trying to reach. */ struct reaching { - struct daemon *daemon; - /* daemon->reaching */ struct list_node list; + struct daemon *daemon; + /* The ID of the peer (not necessarily unique, in transit!) */ struct pubkey id; @@ -161,11 +161,11 @@ struct reaching { /* This is a transitory structure: we hand off to the master daemon as soon * as we've completed INIT read/write. */ struct peer { - struct daemon *daemon; - /* For reconnecting peers, this is in daemon->reconnecting. */ struct list_node list; + struct daemon *daemon; + /* The ID of the peer */ struct pubkey id;