From 0b21e779a76a857650da66a3ba12d38f518eb513 Mon Sep 17 00:00:00 2001 From: LautaroPetaccio Date: Mon, 23 Dec 2024 14:51:30 -0300 Subject: [PATCH] fix: Lowercase comparison --- src/logic/trades/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/trades/utils.ts b/src/logic/trades/utils.ts index ff08cae..53d6abc 100644 --- a/src/logic/trades/utils.ts +++ b/src/logic/trades/utils.ts @@ -155,7 +155,7 @@ export async function isEstateFingerprintValid( const provider = new JsonRpcProvider(getRPCUrlByChainId(chainId)) const contract = new Contract(contractAddress, abi, provider) const estateFingerprint = await contract.getFingerprint(tokenId) - return estateFingerprint === fingerprint + return estateFingerprint.toLowerCase() === fingerprint.toLowerCase() } export async function validateAssetOwnership(asset: ERC721TradeAsset, signer: string, chainId: ChainId): Promise {