mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
fixup! options: Add --offline
to disable listening and auto-reconnection
This commit is contained in:
parent
6f6176a91e
commit
d499c34db2
1 changed files with 1 additions and 4 deletions
|
@ -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");
|
||||
setup_listeners(daemon, port);
|
||||
|
||||
new_reltimer(&daemon->timers, daemon,
|
||||
time_from_sec(daemon->update_channel_interval/2),
|
||||
|
|
Loading…
Add table
Reference in a new issue