diff --git a/contrib/pyln-testing/pyln/testing/utils.py b/contrib/pyln-testing/pyln/testing/utils.py index 947ff66dfe52..e1086fefcbbd 100644 --- a/contrib/pyln-testing/pyln/testing/utils.py +++ b/contrib/pyln-testing/pyln/testing/utils.py @@ -658,12 +658,6 @@ def cleanup(self): def cmd_line(self): opts = [] - for k, v in self.early_opts.items(): - if v is None: - opts.append(f'--{k}') - else: - opts.append(f'{k}={v}') - for k, v in list(self.early_opts.items()) + list(self.opts.items()): if v is None: opts.append("--{}".format(k))