Skip to content

Commit b41ac92

Browse files
committed
Merge #8521: qa: Remove duplicate hash160 implementation
c1582d5 qa: Remove duplicate `hash160` implementation (Wladimir J. van der Laan)
2 parents b40e19c + c1582d5 commit b41ac92

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

qa/rpc-tests/p2p-fullblocktest.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ def __init__(self, tx = CTransaction(), n = -1):
2525
each test.
2626
'''
2727

28-
def hash160(s):
29-
return hashlib.new('ripemd160', sha256(s)).digest()
30-
3128
# Use this class for tests that require behavior other than normal "mininode" behavior.
3229
# For now, it is used to serialize a bloated varint (b64).
3330
class CBrokenBlock(CBlock):

0 commit comments

Comments
 (0)