From a646bfb5069a77023cfc260dfa79921f9dbfa29d Mon Sep 17 00:00:00 2001 From: Thomas Huang Date: Thu, 17 Oct 2019 09:03:14 -0700 Subject: [PATCH] Lessen the length of ENS validation to 3 (#7285) --- ui/app/helpers/utils/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/helpers/utils/util.js b/ui/app/helpers/utils/util.js index 869bd2529..19aabb770 100644 --- a/ui/app/helpers/utils/util.js +++ b/ui/app/helpers/utils/util.js @@ -100,7 +100,7 @@ function isValidAddress (address) { } function isValidENSAddress (address) { - return address.match(/^.{7,}\.(eth|test|xyz)$/) + return address.match(/^.{3,}\.(eth|test|xyz)$/) } function isInvalidChecksumAddress (address) {