CAKE-192 | fixed parse_address_from_domain.dart

This commit is contained in:
OleksandrSobol 2021-07-16 13:44:12 +03:00
parent 008936435b
commit 6855a6d68b

View file

@ -17,7 +17,7 @@ Future<ParsedAddress> 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<ParsedAddress> parseAddressFromDomain(
return ParsedAddress(
address: address,
name: formattedName,
name: domain,
parseFrom: ParseFrom.unstoppableDomains);
}