From 4dcd7f25a500a00d1a1e4ae59aba8fba83dd4dd5 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Fri, 17 Feb 2017 07:59:49 +0900 Subject: [PATCH] Further fix regex for hex chars --- lib/coins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/coins.py b/lib/coins.py index 67795ed..2d88b0e 100644 --- a/lib/coins.py +++ b/lib/coins.py @@ -34,7 +34,7 @@ class Coin(object): REORG_LIMIT = 200 # Not sure if these are coin-specific - RPC_URL_REGEX = re.compile('.+@(\[[0-9:]+\]|[^:]+)(:[0-9]+)?') + RPC_URL_REGEX = re.compile('.+@(\[[0-9a-fA-F:]+\]|[^:]+)(:[0-9]+)?') VALUE_PER_COIN = 100000000 CHUNK_SIZE = 2016 IRC_SERVER = "irc.freenode.net"