mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
fixup! options: Add --offline
to disable listening and auto-reconnection
This commit is contained in:
parent
6f6176a91e
commit
d499c34db2
@ -1502,10 +1502,7 @@ static struct io_plan *gossip_init(struct daemon_conn *master,
|
||||
}
|
||||
daemon->rstate = new_routing_state(daemon, &chain_hash, &daemon->id);
|
||||
|
||||
if (port)
|
||||
setup_listeners(daemon, port);
|
||||
else
|
||||
status_trace("Not listeing for incoming connections due to --no-listen");
|
||||
|
||||
new_reltimer(&daemon->timers, daemon,
|
||||
time_from_sec(daemon->update_channel_interval/2),
|
||||
|
Loading…
Reference in New Issue
Block a user