fix(@wallet): buy ens from sepolia
This commit is contained in:
parent
9202cce3f5
commit
b37b46414d
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue