pytest: only use dev-allow-localhost when needed.

The next patches get better at reconecting, so if we use dev-allow-localhost
nodes can often find each other and reconnect before shutting down; only
use that option where we actually need it.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-08-08 23:36:58 +09:30
committed by Christian Decker
parent e47ac33a37
commit 329270525c
3 changed files with 12 additions and 6 deletions

View File

@@ -317,8 +317,6 @@ class LightningD(TailableProc):
if DEVELOPER:
self.opts['dev-broadcast-interval'] = 1000
self.opts['dev-bitcoind-poll'] = 1
# lightningd won't announce non-routable addresses by default.
self.opts['dev-allow-localhost'] = None
self.prefix = 'lightningd-%d' % (node_id)
filters = [