Skip to content

Commit a63c22c

Browse files
committed
Fix VLS_NETWORK setup bug in cln:native mode
1 parent e9c9aee commit a63c22c

File tree

1 file changed

+2
-1
lines changed
  • contrib/pyln-testing/pyln/testing

1 file changed

+2
-1
lines changed

contrib/pyln-testing/pyln/testing/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,8 @@ def start(self, stdin=None, wait_for_initialized=True, stderr_redir=False):
766766
BITCOIND_CONFIG['rpcport'])
767767

768768
# The remote hsmd proxies need to know which network we are using
769-
self.env['VLS_NETWORK'] = self.opts['network']
769+
if 'network' in self.opts:
770+
self.env['VLS_NETWORK'] = self.opts['network']
770771

771772
self.opts['bitcoin-rpcport'] = self.rpcproxy.rpcport
772773
TailableProc.start(self, stdin, stdout_redir=False, stderr_redir=stderr_redir)

0 commit comments

Comments
 (0)