diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-02-07 15:25:26 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-02-07 15:28:50 +0100 |
commit | b709fe7ffc44ae14bbd2403cdfbfa4fcf94cef6b (patch) | |
tree | 9f6005c08a05024d07bcbf358f9b170d3c77f857 /contrib | |
parent | 729de15b6365face6ae9e12a03624da33a6302f0 (diff) | |
parent | 90fd29bd0dcbaf5d5c4ef9e69824297c35f0b88e (diff) |
Merge #9532: Remove unused variables
90fd29b Remove unused int64_t nSinceLastSeen (practicalswift)
ac4a095 Remove unused Python variables (practicalswift)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/testgen/base58.py | 1 | ||||
-rwxr-xr-x | contrib/testgen/gen_base58_test_vectors.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/contrib/testgen/base58.py b/contrib/testgen/base58.py index bb0aeaff05..0d09692b36 100644 --- a/contrib/testgen/base58.py +++ b/contrib/testgen/base58.py @@ -84,7 +84,6 @@ def b58decode_chk(v): result = b58decode(v) if result is None: return None - h3 = checksum(result[:-4]) if result[-4:] == checksum(result[:-4]): return result[:-4] else: diff --git a/contrib/testgen/gen_base58_test_vectors.py b/contrib/testgen/gen_base58_test_vectors.py index 7e475b7a36..ac0701e6be 100755 --- a/contrib/testgen/gen_base58_test_vectors.py +++ b/contrib/testgen/gen_base58_test_vectors.py @@ -45,7 +45,6 @@ def is_valid(v): result = b58decode_chk(v) if result is None: return False - valid = False for template in templates: prefix = str(bytearray(template[0])) suffix = str(bytearray(template[2])) |