Skip to content

Commit

Permalink
chore: fix cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Jan 11, 2024
1 parent a4fd91c commit 259ac2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/Merkle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ library Merkle {
if iszero(lt(i, end)) { break }
}
}
// require tree to be balanced
// check if index is zeroed out (because tree is balanced) and leaf is equal to root
isValid := and(eq(leaf, root), iszero(index))
}
}
Expand Down

0 comments on commit 259ac2e

Please sign in to comment.