diff --git a/electrumx/lib/coins.py b/electrumx/lib/coins.py index 96badd3e6..20f941f7f 100644 --- a/electrumx/lib/coins.py +++ b/electrumx/lib/coins.py @@ -139,11 +139,6 @@ def lookup_coin_class(cls, name, net): def sanitize_url(cls, url): # Remove surrounding ws and trailing /s url = url.strip().rstrip('/') - match = cls.RPC_URL_REGEX.match(url) - if not match: - raise CoinError(f'invalid daemon URL: "{url}"') - if match.groups()[1] is None: - url = f'{url}:{cls.RPC_PORT:d}' if not url.startswith(('http://', 'https://')): url = f'http://{url}' return url + '/' @@ -1268,6 +1263,7 @@ class Dogecoin(AuxPowMixin, Coin): TX_PER_BLOCK = 20 REORG_LIMIT = 2000 DESERIALIZER = lib_tx.DeserializerAuxPowSegWit + RPC_PORT = 22555 class DogecoinTestnet(Dogecoin):