[tests] Use regtest section in functional tests configs
This commit is contained in:
1 parent
30f94074c8
commit
8a9817d175
2 files changed
+7
-1
No files matched your search
@@ -294,6 +294,7 @@ def initialize_datadir(dirname, n):
|
||||
os.makedirs(datadir)
|
||||
with open(os.path.join(datadir, "bitcoin.conf"), 'w', encoding='utf8') as f:
|
||||
f.write("regtest=1\n")
|
||||
f.write("[regtest]\n")
|
||||
f.write("port=" + str(p2p_port(n)) + "\n")
|
||||
f.write("rpcport=" + str(rpc_port(n)) + "\n")
|
||||
f.write("server=1\n")
|
||||
|
||||
Reference in new issue
Block a user