diff --git a/app/util/address.js b/app/util/address.js index ae4e5d2e9cb..842a597adbd 100644 --- a/app/util/address.js +++ b/app/util/address.js @@ -68,7 +68,7 @@ export async function importAccountFromPrivateKey(private_key) { */ export function isENS(name) { const rec = name && name.split('.'); - if (!rec || rec.length === 1 || !AppConstants.supportedTLDs.includes(rec[rec.length - 1].toLowerCase())) { + if (!rec || rec.length === 1 || !AppConstants.supportedTLDs.includes(rec[rec.length - 1])) { return false; } return true;