env path for bitcoind for CC testing
This commit is contained in:
parent
30946eb1aa
commit
7c8aceb753
@ -11,7 +11,10 @@ from ckcc.protocol import CCProtocolPacker
|
||||
def find_bitcoind():
|
||||
# search for the binary we need
|
||||
# - should be in the path really
|
||||
return "/home/scg/Downloads/bitcoin-29.0/bin/bitcoind"
|
||||
env_path = os.environ.get("CC_TEST_BITCOIND", None)
|
||||
if env_path:
|
||||
return env_path
|
||||
|
||||
easy = shutil.which('bitcoind')
|
||||
if easy:
|
||||
return easy
|
||||
|
||||
Loading…
Reference in New Issue
Block a user