Skip to content

Commit

Permalink
Fix usage of local python-bitcoinlib
Browse files Browse the repository at this point in the history
Previously was using the system-wide python-bitcoinlib, if it existed,
rather than the local copy that you check out in the README.
  • Loading branch information
petertodd committed Nov 20, 2015
1 parent 16a2f93 commit 63b5840
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qa/replace-by-fee/rbf-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 63b5840

Please sign in to comment.