diff options
| author | Peter Todd <[email protected]> | 2015-11-20 16:23:01 -0500 |
|---|---|---|
| committer | Peter Todd <[email protected]> | 2015-11-20 16:23:01 -0500 |
| commit | 63b5840257a0b892228dfa9cce943b5a2bb94e1a (patch) | |
| tree | bea21499af9d8cf4d2667a9115986ba18d310e1d | |
| parent | Fix incorrect locking of mempool during RBF replacement (diff) | |
| download | discoin-63b5840257a0b892228dfa9cce943b5a2bb94e1a.tar.xz discoin-63b5840257a0b892228dfa9cce943b5a2bb94e1a.zip | |
Fix usage of local python-bitcoinlib
Previously was using the system-wide python-bitcoinlib, if it existed,
rather than the local copy that you check out in the README.
| -rwxr-xr-x | qa/replace-by-fee/rbf-tests.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qa/replace-by-fee/rbf-tests.py b/qa/replace-by-fee/rbf-tests.py index 60be90526..1ee6c8387 100755 --- a/qa/replace-by-fee/rbf-tests.py +++ b/qa/replace-by-fee/rbf-tests.py @@ -10,8 +10,9 @@ import os import sys -# Add python-bitcoinlib to module search path: -sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinlib")) +# Add python-bitcoinlib to module search path, prior to any system-wide +# python-bitcoinlib. +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinlib")) import unittest |