diff --git a/lib/entities/parse_address_from_domain.dart b/lib/entities/parse_address_from_domain.dart index 3dc12e6c4..45571e358 100644 --- a/lib/entities/parse_address_from_domain.dart +++ b/lib/entities/parse_address_from_domain.dart @@ -17,7 +17,7 @@ Future parseAddressFromDomain( if (name.contains(topLevelDomain)) { final address = - await fetchUnstoppableDomainAddress(formattedName, ticker); + await fetchUnstoppableDomainAddress(domain, ticker); if (address?.isEmpty ?? true) { return ParsedAddress(address: domain); @@ -25,7 +25,7 @@ Future parseAddressFromDomain( return ParsedAddress( address: address, - name: formattedName, + name: domain, parseFrom: ParseFrom.unstoppableDomains); }