diff --git a/src/views/Profile.vue b/src/views/Profile.vue index cf4648f..f06866d 100644 --- a/src/views/Profile.vue +++ b/src/views/Profile.vue @@ -173,7 +173,7 @@ export default { const intfc = new ethers.utils.Interface(tldAbi); const contract = new ethers.Contract(this.getTldAddress, intfc, this.signer); const checkDomainHolder = await contract.getDomainHolder(existingDomainParts[0]); - if (String(checkDomainHolder)===String(this.address)) { + if (String(checkDomainHolder).toLowerCase() === String(this.address).toLowerCase()) { this.addDomainManually(existingDomainLower); this.toast("Domain successfully added.", {type: TYPE.SUCCESS}); } else {