Skip to content

Commit c1582d5

Browse files
committed
qa: Remove duplicate hash160 implementation
`hash160` is defined in `test_framework.script`, so there is no need to define it here again.
1 parent 2c2d471 commit c1582d5

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)