From 69e793f16a8511dcf6e19c42775108aaf150f4ef Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 25 Sep 2019 09:37:33 +0200 Subject: [PATCH] Enforcing Base58 check on Litecoin and Dash addresses --- bin/packages/Cryptocurrency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/packages/Cryptocurrency.py b/bin/packages/Cryptocurrency.py index fe7b385f..995ada9e 100755 --- a/bin/packages/Cryptocurrency.py +++ b/bin/packages/Cryptocurrency.py @@ -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