This commit is contained in:
Terrtia 2019-09-25 10:26:47 +02:00
commit 987b56a224
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -34,7 +34,7 @@ def check_base58_address(bc):
return False
def verify_cryptocurrency_address(cryptocurrency_type, cryptocurrency_address):
if cryptocurrency_type == 'bitcoin':
if cryptocurrency_type in ('bitcoin', 'litecoin', 'dash'):
return check_base58_address(cryptocurrency_address)
else:
return True