qa: Remove duplicate hash160 implementation

`hash160` is defined in `test_framework.script`, so there is no need
to define it here again.
This commit is contained in:
Wladimir J. van der Laan committed 2016-08-16 12:04:49 +02:00
1 parent 2c2d471e18
commit c1582d5d85
1 file changed
-3
-3
View File
@@ -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):