mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 01:37:54 +00:00
Update validateAddress to use the coin's validate address
This commit is contained in:
parent
03dc8d6e75
commit
3b66997b88
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue