Update validateAddress to use the coin's validate address

This commit is contained in:
likho 2024-02-07 17:50:38 +02:00
parent 03dc8d6e75
commit 3b66997b88

View file

@ -114,8 +114,6 @@ class AddressUtils {
return Dogecoin(CryptoCurrencyNetwork.test).validateAddress(address);
case Coin.stellarTestnet:
return Stellar(CryptoCurrencyNetwork.test).validateAddress(address);
case null:
throw Exception("Invalid coin");
}
// throw Exception("moved");
// switch (coin) {