From c9e587eeeae9fd56715730e2f778758681f51485 Mon Sep 17 00:00:00 2001 From: Anton Bukov Date: Sun, 8 Aug 2021 01:05:59 +0300 Subject: [PATCH] Fix linter --- 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 34153815c9d..0571665402d 100644 --- a/contracts/utils/cryptography/MerkleProof.sol +++ b/contracts/utils/cryptography/MerkleProof.sol @@ -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 @@ -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