mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
Merge #8521: qa: Remove duplicate hash160
implementation
c1582d5
qa: Remove duplicate `hash160` implementation (Wladimir J. van der Laan)
This commit is contained in:
commit
b41ac928b8
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user