Skip to content

Commit 6859bbd

Browse files
committed
Fix VLS_NETWORK setup bug in cln:native mode
1 parent c3a3426 commit 6859bbd

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
@@ -769,7 +769,8 @@ def start(self, stdin=None, wait_for_initialized=True, stderr_redir=False):
769769
BITCOIND_CONFIG['rpcport'])
770770

771771
# The remote hsmd proxies need to know which network we are using
772-
self.env['VLS_NETWORK'] = self.opts['network']
772+
if 'network' in self.opts:
773+
self.env['VLS_NETWORK'] = self.opts['network']
773774

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

0 commit comments

Comments
 (0)