From 6e0dc4274c68464bea2705e366d70ac04aa8485b Mon Sep 17 00:00:00 2001 From: Albert Perez Toro Date: Thu, 23 May 2024 10:59:07 +0200 Subject: [PATCH] feat: Add DNS domains on seed nodes --- node-runner-cli/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-runner-cli/utils/utils.py b/node-runner-cli/utils/utils.py index fcc3b386..e74c6638 100644 --- a/node-runner-cli/utils/utils.py +++ b/node-runner-cli/utils/utils.py @@ -213,7 +213,7 @@ def merge(source, destination): @staticmethod def parse_trustednode(trustednode): import re - regex = r"radix://(.*)@((\d{1,3}\.){3}\d{1,3}|[a-zA-Z0-9-]+\.[a-zA-Z]{2,})$" + regex = r"radix://(.*)@((\d{1,3}\.){3}\d{1,3}|([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,})$" if not bool( re.match(regex, trustednode) ):