aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-08-17 12:00:31 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-08-17 12:00:47 +0200
commitb41ac928b89f0017085fca9a728a6a1e6a82ea72 (patch)
treea063b6d354289919f192e79f32d10625e4ea6aaf /qa
parentb40e19c6c48fda0cd1d6dca4e9c5a500b2637cb0 (diff)
parentc1582d5d8595ce8814a86dffdb0fa647e4100862 (diff)
Merge #8521: qa: Remove duplicate `hash160` implementation
c1582d5 qa: Remove duplicate `hash160` implementation (Wladimir J. van der Laan)
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/p2p-fullblocktest.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/qa/rpc-tests/p2p-fullblocktest.py b/qa/rpc-tests/p2p-fullblocktest.py
index 17fd40ef1d..9aee81164f 100755
--- a/qa/rpc-tests/p2p-fullblocktest.py
+++ b/qa/rpc-tests/p2p-fullblocktest.py
@@ -25,9 +25,6 @@ We use the testing framework in which we expect a particular answer from
each test.
'''
-def hash160(s):
- return hashlib.new('ripemd160', sha256(s)).digest()
-
# Use this class for tests that require behavior other than normal "mininode" behavior.
# For now, it is used to serialize a bloated varint (b64).
class CBrokenBlock(CBlock):