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:
parent
4a7292ad54
commit
ee913edf9f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user