Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
k06a committed Aug 8, 2021
1 parent ab80341 commit c9e587e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/utils/cryptography/MerkleProof.sol
Expand Up @@ -23,10 +23,10 @@ library MerkleProof {
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
(bool success, uint256 index) = verifyAndRecoverIndex(proof, root, leaf);
(bool success, ) = verifyAndRecoverIndex(proof, root, leaf);
return success;
}

/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
Expand Down Expand Up @@ -57,7 +57,7 @@ library MerkleProof {
// Check if the computed hash (root) is equal to the provided root
return (computedHash == root, index);
}

/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
Expand Down

0 comments on commit c9e587e

Please sign in to comment.