mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
CAKE-192 | fixed parse_address_from_domain.dart
This commit is contained in:
parent
008936435b
commit
6855a6d68b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue