From 3b66997b88768084592bf3f03009af0b8c26599c Mon Sep 17 00:00:00 2001 From: likho Date: Wed, 7 Feb 2024 17:50:38 +0200 Subject: [PATCH] Update validateAddress to use the coin's validate address --- lib/utilities/address_utils.dart | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/utilities/address_utils.dart b/lib/utilities/address_utils.dart index 90a5ca487..0e766d28e 100644 --- a/lib/utilities/address_utils.dart +++ b/lib/utilities/address_utils.dart @@ -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) {