aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/maxblocksinflight.py
diff options
context:
space:
mode:
Diffstat (limited to 'qa/rpc-tests/maxblocksinflight.py')
-rwxr-xr-xqa/rpc-tests/maxblocksinflight.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qa/rpc-tests/maxblocksinflight.py b/qa/rpc-tests/maxblocksinflight.py
index 4bfe203990..94535822d8 100755
--- a/qa/rpc-tests/maxblocksinflight.py
+++ b/qa/rpc-tests/maxblocksinflight.py
@@ -77,7 +77,8 @@ class TestManager(NodeConnCB):
class MaxBlocksInFlightTest(BitcoinTestFramework):
def add_options(self, parser):
- parser.add_option("--testbinary", dest="testbinary", default="bitcoind",
+ parser.add_option("--testbinary", dest="testbinary",
+ default=os.getenv("BITCOIND", "bitcoind"),
help="Binary to test max block requests behavior")
def setup_chain(self):