gossip: Pass use_dns option down to gossipd

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2018-06-20 13:18:33 +02:00
parent 1bfa02d877
commit ceef61dbbd
3 changed files with 5 additions and 2 deletions

View File

@@ -246,7 +246,7 @@ void gossip_init(struct lightningd *ld)
listen_announce, ld->rgb,
ld->alias, ld->config.channel_update_interval, ld->reconnect,
ld->proxyaddr, ld->use_proxy_always || ld->pure_tor_setup,
allow_localhost,
allow_localhost, ld->config.use_dns,
ld->tor_service_password ? ld->tor_service_password : "");
subd_send_msg(ld->gossip, msg);
}