diff --git a/run.sh b/run.sh index f0c97c6..87cc913 100755 --- a/run.sh +++ b/run.sh @@ -1,7 +1,7 @@ #!/bin/bash -#python3 -m venv venv -#venv/bin/pip install --upgrade pip -#venv/bin/pip install -r requirements.txt -#source /venv/bin/activate -python3 src/main.py --mempool=mempool > output.txt \ No newline at end of file +python3 -m venv venv +venv/bin/pip install --upgrade pip +venv/bin/pip install -r requirements.txt +source /venv/bin/activate +python3 src/main.py --mempool=mempool > output.txt diff --git a/src/transaction.py b/src/transaction.py index cb905f1..616d1e2 100644 --- a/src/transaction.py +++ b/src/transaction.py @@ -1,7 +1,7 @@ import hashlib import json -from ecdsa import VerifyingKey, SECP256k1, BadSignatureError +#from ecdsa import VerifyingKey, SECP256k1, BadSignatureError from src.script import Script, InvalidScriptException from src.serialize import serialize_transaction @@ -307,4 +307,4 @@ def validate_p2sh_p2wpkh(self, vin_idx, vin): except BadSignatureError: return False - return True """ \ No newline at end of file + return True """