Skip to content

Commit

Permalink
fix(lowercase): compare addresses lowercased
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbeckers committed Mar 27, 2024
1 parent c84bf5a commit 0ed407f
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 0ed407f

Please sign in to comment.