mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-07 08:04:23 +01:00
Move always-use-proxy auto-override to master daemon.
This means it will effect connect commands too (though it's too late to stop DNS lookups caused by commandline options). We also warn that this is one case where we allow forcing through Tor without a proxy set: it just means all connections will fail. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -225,7 +225,7 @@ void gossip_init(struct lightningd *ld)
|
||||
get_offered_local_features(tmpctx), wireaddrs,
|
||||
listen_announce, ld->rgb,
|
||||
ld->alias, ld->config.channel_update_interval, ld->reconnect,
|
||||
ld->proxyaddr, ld->use_proxy_always,
|
||||
ld->proxyaddr, ld->use_proxy_always || ld->pure_tor_setup,
|
||||
allow_localhost,
|
||||
ld->tor_service_password ? ld->tor_service_password : "");
|
||||
subd_send_msg(ld->gossip, msg);
|
||||
|
||||
Reference in New Issue
Block a user