mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
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:
committed by
Christian Decker
parent
e47ac33a37
commit
329270525c
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user