Skip to content

Commit b98f3be

Browse files
committed
Add --rpc argument to connect vlsd to regtest in integration tests
1 parent 5ebceb4 commit b98f3be

File tree

1 file changed

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

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,11 @@ def __init__(self, vlsd_dir, vlsd_port):
591591
'--port={}'.format(vlsd_port),
592592
'--initial-allowlist-file={}'.format(env('REMOTE_SIGNER_ALLOWLIST',
593593
'contrib/remote_hsmd/TESTING_ALLOWLIST')),
594-
]
594+
'--rpc=http://{}:{}@127.0.0.1:{}'.format(
595+
BITCOIND_CONFIG['rpcuser'],
596+
BITCOIND_CONFIG['rpcpassword'],
597+
BITCOIND_CONFIG['rpcport']),
598+
]
595599
self.prefix = 'vlsd'
596600
self.vlsd_port = vlsd_port
597601

0 commit comments

Comments
 (0)