Further fix regex for hex chars

This commit is contained in:
Neil Booth 2017-02-17 07:59:49 +09:00
parent 09b2df1179
commit 4dcd7f25a5

View File

@ -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"