diff --git a/connectd/connect_wire.csv b/connectd/connect_wire.csv index 9407889a1..7f80adae0 100644 --- a/connectd/connect_wire.csv +++ b/connectd/connect_wire.csv @@ -4,6 +4,7 @@ #include msgtype,connectctl_init,2000 +msgdata,connectctl_init,chainparams,chainparams, msgdata,connectctl_init,id,node_id, msgdata,connectctl_init,num_wireaddrs,u16, msgdata,connectctl_init,wireaddrs,wireaddr_internal,num_wireaddrs diff --git a/connectd/connectd.c b/connectd/connectd.c index 9e0c23463..c256d0a33 100644 --- a/connectd/connectd.c +++ b/connectd/connectd.c @@ -1145,6 +1145,7 @@ static struct io_plan *connect_init(struct io_conn *conn, /* Fields which require allocation are allocated off daemon */ if (!fromwire_connectctl_init( daemon, msg, + &chainparams, &daemon->id, &proposed_wireaddr, &proposed_listen_announce,