Merge pull request #1507 from cake-tech/fix-open-alias
Some checks failed
Cache Dependencies / test (push) Has been cancelled

oa1 ticker needs to be lowercase
This commit is contained in:
Konstantin Ullrich 2024-06-25 18:56:17 +02:00 committed by GitHub
commit ac9e473ef5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -201,7 +201,7 @@ class AddressResolver {
final txtRecord = await OpenaliasRecord.lookupOpenAliasRecord(formattedName);
if (txtRecord != null) {
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);
}
}