Remove reference to REGTEST.conf in start_node which all tests use, not just CC tests. it is passed via extra_args

This commit is contained in:
Jonathan "Duke" Leto
2018-08-07 21:24:33 +02:00
parent eb8f0960e1
commit dcc6cdb083

View File

@@ -209,7 +209,7 @@ def start_node(i, dirname, extra_args=None, rpchost=None, timewait=None, binary=
cmd = os.getenv("BITCOINCLI", "komodo-cli")
print("cmd=" + cmd)
#TODO: this will only work on the regtest AC, and probably breaks non-CC tests
cmd_args = ' '.join(extra_args) + " -rpcwait -conf=" +datadir+"/REGTEST.conf getblockcount "
cmd_args = ' '.join(extra_args) + " -rpcwait getblockcount "
if os.getenv("PYTHON_DEBUG", ""):
print "start_node: komodod started, calling : " + cmd + " " + cmd_args
strcmd = cmd + " " + cmd_args