oa1 ticker needs to be lowercase

This commit is contained in:
Konstantin Ullrich 2024-06-25 18:52:31 +02:00
parent 7dd15914d0
commit 8f91d4b8ff
No known key found for this signature in database
GPG key ID: E9562A013280F5DB

View file

@ -201,7 +201,7 @@ class AddressResolver {
final txtRecord = await OpenaliasRecord.lookupOpenAliasRecord(formattedName); final txtRecord = await OpenaliasRecord.lookupOpenAliasRecord(formattedName);
if (txtRecord != null) { if (txtRecord != null) {
final record = await OpenaliasRecord.fetchAddressAndName( final record = await OpenaliasRecord.fetchAddressAndName(
formattedName: formattedName, ticker: ticker, txtRecord: txtRecord); formattedName: formattedName, ticker: ticker.toLowerCase(), txtRecord: txtRecord);
return ParsedAddress.fetchOpenAliasAddress(record: record, name: text); return ParsedAddress.fetchOpenAliasAddress(record: record, name: text);
} }
} }