fix(@wallet): buy ens from sepolia

This commit is contained in:
Anthony Laibe 2024-03-07 12:37:15 +01:00
parent 9202cce3f5
commit b37b46414d
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ QtObject:
proc getTokenBySymbolByContractAddr(self: Service, contractAddr: string): TokenBySymbolItem = proc getTokenBySymbolByContractAddr(self: Service, contractAddr: string): TokenBySymbolItem =
for token in self.tokenBySymbolList: for token in self.tokenBySymbolList:
for addrPerChainId in token.addressPerChainId: for addrPerChainId in token.addressPerChainId:
if addrPerChainId.address == contractAddr: if addrPerChainId.address.toLower() == contractAddr.toLower():
return token return token
return nil return nil