connectd: add network to init message

Changelog-Added: protocol: We now signal the network we are running on at init.
This commit is contained in:
darosior
2019-11-28 15:11:07 +01:00
committed by Christian Decker
parent 4b13b88f6c
commit 3322048774
6 changed files with 81 additions and 37 deletions

View File

@@ -137,7 +137,7 @@ static struct io_plan *handshake_success(struct io_conn *conn,
OPTIONAL_FEATURE(OPT_INITIAL_ROUTING_SYNC));
if (!no_init) {
msg = towire_init(NULL, NULL, features);
msg = towire_init(NULL, NULL, features, NULL);
sync_crypto_write(pps, take(msg));
/* Ignore their init message. */