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:
@@ -209,7 +209,7 @@ def start_node(i, dirname, extra_args=None, rpchost=None, timewait=None, binary=
|
|||||||
cmd = os.getenv("BITCOINCLI", "komodo-cli")
|
cmd = os.getenv("BITCOINCLI", "komodo-cli")
|
||||||
print("cmd=" + cmd)
|
print("cmd=" + cmd)
|
||||||
#TODO: this will only work on the regtest AC, and probably breaks non-CC tests
|
#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", ""):
|
if os.getenv("PYTHON_DEBUG", ""):
|
||||||
print "start_node: komodod started, calling : " + cmd + " " + cmd_args
|
print "start_node: komodod started, calling : " + cmd + " " + cmd_args
|
||||||
strcmd = cmd + " " + cmd_args
|
strcmd = cmd + " " + cmd_args
|
||||||
|
|||||||
Reference in New Issue
Block a user