mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Use deterministic command-line ordering when executing lightningd from tests
This commit is contained in:
parent
d9266afcda
commit
6757255ba4
@ -253,7 +253,7 @@ class LightningD(TailableProc):
|
||||
self.cmd_line += ['--dev-broadcast-interval=1000']
|
||||
if not random_hsm:
|
||||
self.cmd_line += ['--dev-hsm-seed={}'.format(seed.hex())]
|
||||
self.cmd_line += ["--{}={}".format(k, v) for k, v in LIGHTNINGD_CONFIG.items()]
|
||||
self.cmd_line += ["--{}={}".format(k, v) for k, v in sorted(LIGHTNINGD_CONFIG.items())]
|
||||
self.prefix = 'lightningd(%d)' % (port)
|
||||
|
||||
if not os.path.exists(lightning_dir):
|
||||
|
Loading…
Reference in New Issue
Block a user