1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Lessen the length of ENS validation to 3 (#7285)

This commit is contained in:
Thomas Huang 2019-10-17 09:03:14 -07:00 committed by Mark Stacey
parent 9d9f3685bb
commit a646bfb506

View File

@ -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) {