Skip to content

Commit

Permalink
Merge pull request #1294 from hypercerts-org/fix/lowercase_address_co…
Browse files Browse the repository at this point in the history
…mparison

Fix/lowercase address comparison
  • Loading branch information
Jipperism authored Mar 27, 2024
2 parents fa28bd3 + 0ed407f commit b0fbd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/hooks/verifyFractionClaim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const useVerifyFractionClaim = () => {

// Find the proof
for (const [leaf, value] of tree.entries()) {
if (value[0] === address) {
if ((value[0] as string).toLowerCase() === address.toLowerCase()) {
results.push({
proof: tree.getProof(leaf),
units: Number(value[1]),
Expand Down

0 comments on commit b0fbd0a

Please sign in to comment.