Skip to content

Commit 63b5840

Browse files
committed
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.
1 parent 16a2f93 commit 63b5840

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

qa/replace-by-fee/rbf-tests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
import os
1111
import sys
1212

13-
# Add python-bitcoinlib to module search path:
14-
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinlib"))
13+
# Add python-bitcoinlib to module search path, prior to any system-wide
14+
# python-bitcoinlib.
15+
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "python-bitcoinlib"))
1516

1617
import unittest
1718

0 commit comments

Comments
 (0)