mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-15 12:50:22 +02:00
connectd: remove unused flag to connect_init.
We haven't announced websocket addresses for some time! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
ee0175b85f
commit
bcce29eeb0
4 changed files with 0 additions and 6 deletions
|
|
@ -1652,7 +1652,6 @@ static void connect_init(struct daemon *daemon, const u8 *msg)
|
|||
&tor_password,
|
||||
&daemon->timeout_secs,
|
||||
&daemon->websocket_helper,
|
||||
&daemon->announce_websocket,
|
||||
&daemon->dev_fast_gossip,
|
||||
&dev_disconnect,
|
||||
&daemon->dev_no_ping_timer,
|
||||
|
|
|
|||
|
|
@ -338,9 +338,6 @@ struct daemon {
|
|||
u32 gossip_recent_time;
|
||||
struct gossmap_iter *gossmap_iter_recent;
|
||||
|
||||
/* We only announce websocket addresses if !deprecated_apis */
|
||||
bool announce_websocket;
|
||||
|
||||
/* Shutting down, don't send new stuff */
|
||||
bool shutting_down;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ msgdata,connectd_init,use_dns,bool,
|
|||
msgdata,connectd_init,tor_password,wirestring,
|
||||
msgdata,connectd_init,timeout_secs,u32,
|
||||
msgdata,connectd_init,websocket_helper,wirestring,
|
||||
msgdata,connectd_init,announce_websocket,bool,
|
||||
msgdata,connectd_init,dev_fast_gossip,bool,
|
||||
# If this is set, then fd 5 is dev_disconnect_fd.
|
||||
msgdata,connectd_init,dev_disconnect,bool,
|
||||
|
|
|
|||
|
|
|
@ -711,7 +711,6 @@ int connectd_init(struct lightningd *ld)
|
|||
ld->tor_service_password ? ld->tor_service_password : "",
|
||||
ld->config.connection_timeout_secs,
|
||||
websocket_helper_path,
|
||||
!ld->deprecated_ok,
|
||||
ld->dev_fast_gossip,
|
||||
ld->dev_disconnect_fd >= 0,
|
||||
ld->dev_no_ping_timer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue