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

feature/default_network_editable
Thomas Huang 5 years ago committed by Mark Stacey
parent 9d9f3685bb
commit a646bfb506
  1. 2
      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) {

Loading…
Cancel
Save