mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-03 20:35:17 +02:00
Merge #9532: Remove unused variables
90fd29bRemove unused int64_t nSinceLastSeen (practicalswift)ac4a095Remove unused Python variables (practicalswift)
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user