0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

[tests] bind functional test nodes to 127.0.0.1

This commit is contained in:
Sjors Provoost 2018-01-16 15:46:57 +00:00
parent cad504bf4c
commit 65682da7e5
No known key found for this signature in database
GPG key ID: 57FF9BDBCC301009

View file

@ -292,6 +292,7 @@ def initialize_datadir(dirname, n):
f.write("port=" + str(p2p_port(n)) + "\n")
f.write("rpcport=" + str(rpc_port(n)) + "\n")
f.write("listenonion=0\n")
f.write("bind=127.0.0.1\n")
return datadir
def get_datadir_path(dirname, n):