Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit ffe5811

Browse files
authored
Merge pull request #1293 from hypercerts-org/fix/lowercase_address_comparison
fix(lowercase): compare addresses lowercased
2 parents c84bf5a + 0ed407f commit ffe5811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/hooks/verifyFractionClaim.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const useVerifyFractionClaim = () => {
4444

4545
// Find the proof
4646
for (const [leaf, value] of tree.entries()) {
47-
if (value[0] === address) {
47+
if ((value[0] as string).toLowerCase() === address.toLowerCase()) {
4848
results.push({
4949
proof: tree.getProof(leaf),
5050
units: Number(value[1]),

0 commit comments

Comments
 (0)