mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
CAKE-356 | fixed fetching address from yat for specified crypto currency
This commit is contained in:
parent
af356bd8f1
commit
cbec9d5067
2 changed files with 30 additions and 4 deletions
|
@ -24,7 +24,7 @@ Future<ParsedAddress> parseAddressFromDomain(
|
|||
|
||||
if (domainParts.length <= 1 || domainParts.first.isEmpty || name.isEmpty) {
|
||||
try {
|
||||
final address = await fetchYatAddress(domain);
|
||||
final address = await fetchYatAddress(domain, ticker);
|
||||
|
||||
if (address?.isEmpty ?? true) {
|
||||
return ParsedAddress(address: domain);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue