diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-07-20 23:10:37 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-28 15:18:14 +0200 |
commit | 2e6080bbf31d5cc2e38e8a7b436e8ce1857e589b (patch) | |
tree | 36f280b71163f7a43058be57b1cad7f39cf0d923 /test/functional/test_framework/blockstore.py | |
parent | 9b94054b7c60183cc38f1b9f3681c1770c043d77 (diff) | |
download | bitcoin-2e6080bbf31d5cc2e38e8a7b436e8ce1857e589b.tar.xz |
Remove unused variables and/or function calls
Diffstat (limited to 'test/functional/test_framework/blockstore.py')
-rw-r--r-- | test/functional/test_framework/blockstore.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/functional/test_framework/blockstore.py b/test/functional/test_framework/blockstore.py index 4cfd682bb5..4b2170a03f 100644 --- a/test/functional/test_framework/blockstore.py +++ b/test/functional/test_framework/blockstore.py @@ -143,16 +143,6 @@ class TxStore(object): return None return value - def get_transaction(self, txhash): - ret = None - serialized_tx = self.get(txhash) - if serialized_tx is not None: - f = BytesIO(serialized_tx) - ret = CTransaction() - ret.deserialize(f) - ret.calc_sha256() - return ret - def add_transaction(self, tx): tx.calc_sha256() try: |