We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 305de6d commit 258d9d3Copy full SHA for 258d9d3
1 file changed
test/functional/feature_fedpeg.py
@@ -1,6 +1,7 @@
1
#!/usr/bin/env python3
2
3
import time
4
+import os
5
6
from test_framework.authproxy import JSONRPCException
7
from test_framework.test_framework import BitcoinTestFramework
@@ -152,7 +153,7 @@ def setup_network(self, split=False):
152
153
else:
154
# Need to specify where to find parent cookie file
155
datadir = get_datadir_path(self.options.tmpdir, n)
- extra_args.append('-mainchainrpccookiefile='+datadir+"/" + parent_chain + "/.cookie")
156
+ extra_args.append('-mainchainrpccookiefile='+os.path.join(datadir, parent_chain, ".cookie"))
157
158
self.add_nodes(1, [extra_args], chain=["elementsregtest"])
159
self.start_node(2+n)
0 commit comments