From bdddabb3cf6a1588a996691fc98e6bb6e9c73b9d Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Wed, 17 Aug 2016 12:00:31 +0200 Subject: [PATCH] Merge #8521: qa: Remove duplicate `hash160` implementation c1582d5 qa: Remove duplicate `hash160` implementation (Wladimir J. van der Laan) --- qa/rpc-tests/p2p-fullblocktest.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/qa/rpc-tests/p2p-fullblocktest.py b/qa/rpc-tests/p2p-fullblocktest.py index 501a3ff97..dd35aeb53 100755 --- a/qa/rpc-tests/p2p-fullblocktest.py +++ b/qa/rpc-tests/p2p-fullblocktest.py @@ -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):