Skip to content

Commit b9984f8

Browse files
endothermicdevrustyrussell
authored andcommitted
lightningd: disable seeker autoconnect when --offline
Changelog-None
1 parent 2ba05ef commit b9984f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightningd/options.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,7 @@ static char *opt_set_offline(struct lightningd *ld)
550550
ld->reconnect = false;
551551
ld->listen = false;
552552
log_info(ld->log, "Started in offline mode!");
553+
ld->autoconnect_seeker_peers=0;
553554
return NULL;
554555
}
555556

0 commit comments

Comments
 (0)