From caf24e5b6f85aa7bcd699ef7be0425c286d0ed0c Mon Sep 17 00:00:00 2001 From: bitbeckers Date: Wed, 27 Mar 2024 14:46:30 +0100 Subject: [PATCH] fix(lowercase): compare addresses lowercased --- frontend/hooks/verifyFractionClaim.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/hooks/verifyFractionClaim.ts b/frontend/hooks/verifyFractionClaim.ts index bf366e9f..6b6ecc3c 100644 --- a/frontend/hooks/verifyFractionClaim.ts +++ b/frontend/hooks/verifyFractionClaim.ts @@ -44,7 +44,7 @@ export const useVerifyFractionClaim = () => { // Find the proof for (const [leaf, value] of tree.entries()) { - if (value[0] === address) { + if (value[0].toLowerCase() === address.toLowerCase()) { results.push({ proof: tree.getProof(leaf), units: Number(value[1]),