From 40ae7cc53f4a8296c6f8494f465b56581ccc5162 Mon Sep 17 00:00:00 2001 From: Hadrien Croubois Date: Wed, 13 Oct 2021 09:30:47 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Francisco Giordano --- contracts/utils/cryptography/MerkleProof.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/utils/cryptography/MerkleProof.sol b/contracts/utils/cryptography/MerkleProof.sol index 539243ed17f..01cf9ebdc55 100644 --- a/contracts/utils/cryptography/MerkleProof.sol +++ b/contracts/utils/cryptography/MerkleProof.sol @@ -30,12 +30,12 @@ library MerkleProof { /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up - * from `leaf` using `proof`, and an index uniquelly identifying the leaf + * from `leaf` using `proof`, and an index uniquely identifying the leaf * location in the tree. A `proof` is valid if and only if the rebuilt hash * matches the root of the tree. When processing the proof, the pairs of * leafs & pre-images are assumed to be sorted. - * The produced index is unique in the sens that processing two valid proofs - * will return the same indices if and only if the leaf at the same location + * The produced index is unique in the sense that processing two valid proofs + * will return the same indices if and only if the leaf is at the same location * in the tree. This helps distinguishing two leaves that have the same * bytes32 identifier but are present in different locations in the merkle * tree.