Skip to content

Commit fce4622

Browse files
committed
Add --rpc argument to connect vlsd to regtest in integration tests
1 parent 73d40f4 commit fce4622

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
@@ -542,7 +542,11 @@ def __init__(self, vlsd_dir, vlsd_port):
542542
'--port={}'.format(vlsd_port),
543543
'--initial-allowlist-file={}'.format(env('REMOTE_SIGNER_ALLOWLIST',
544544
'contrib/remote_hsmd/TESTING_ALLOWLIST')),
545-
]
545+
'--rpc=http://{}:{}@127.0.0.1:{}'.format(
546+
BITCOIND_CONFIG['rpcuser'],
547+
BITCOIND_CONFIG['rpcpassword'],
548+
BITCOIND_CONFIG['rpcport']),
549+
]
546550
self.prefix = 'vlsd'
547551
self.vlsd_port = vlsd_port
548552

0 commit comments

Comments
 (0)