Browse Source

Merge #8521: qa: Remove duplicate `hash160` implementation

c1582d5 qa: Remove duplicate `hash160` implementation (Wladimir J. van der Laan)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
b41ac928b8
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      qa/rpc-tests/p2p-fullblocktest.py

3
qa/rpc-tests/p2p-fullblocktest.py

@ -25,9 +25,6 @@ We use the testing framework in which we expect a particular answer from @@ -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…
Cancel
Save