diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-08-16 11:48:54 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-08-16 12:04:49 +0200 |
| commit | c1582d5d8595ce8814a86dffdb0fa647e4100862 (patch) | |
| tree | e2c2a692105440a211f31b1ead0fcd7205aedf14 | |
| parent | Merge #8516: [trivial] remove no-longer-used InitError logic (diff) | |
| download | discoin-c1582d5d8595ce8814a86dffdb0fa647e4100862.tar.xz discoin-c1582d5d8595ce8814a86dffdb0fa647e4100862.zip | |
qa: Remove duplicate `hash160` implementation
`hash160` is defined in `test_framework.script`, so there is no need
to define it here again.
| -rwxr-xr-x | qa/rpc-tests/p2p-fullblocktest.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/qa/rpc-tests/p2p-fullblocktest.py b/qa/rpc-tests/p2p-fullblocktest.py index 17fd40ef1..9aee81164 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): |