1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

fix issue of xyz ens not resolving (#7266)

This commit is contained in:
Mark O'Sullivan 2019-10-09 13:30:48 +01:00 committed by Mark Stacey
parent 4a7292ad54
commit ee913edf9f

View File

@ -100,7 +100,7 @@ function isValidAddress (address) {
}
function isValidENSAddress (address) {
return address.match(/^.{7,}\.(eth|test)$/)
return address.match(/^.{7,}\.(eth|test|xyz)$/)
}
function isInvalidChecksumAddress (address) {