mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
Merge branch 'master' of https://github.com/CIRCL/AIL-framework
This commit is contained in:
commit
987b56a224
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def check_base58_address(bc):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def verify_cryptocurrency_address(cryptocurrency_type, cryptocurrency_address):
|
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)
|
return check_base58_address(cryptocurrency_address)
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in a new issue