Fix MerkleProof natspec comments (#1083)
This commit is contained in:
committed by
Nicolás Venturo
parent
11266b0d56
commit
c95ea5125d
@ -1,15 +1,15 @@
|
|||||||
pragma solidity ^0.4.24;
|
pragma solidity ^0.4.24;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* @title MerkleProof
|
* @title MerkleProof
|
||||||
* @dev Merkle proof verification based on
|
* @dev Merkle proof verification based on
|
||||||
* https://github.com/ameensol/merkle-tree-solidity/blob/master/src/MerkleProof.sol
|
* https://github.com/ameensol/merkle-tree-solidity/blob/master/src/MerkleProof.sol
|
||||||
*/
|
*/
|
||||||
library MerkleProof {
|
library MerkleProof {
|
||||||
/*
|
/**
|
||||||
* @dev Verifies a Merkle proof proving the existence of a leaf in a Merkle tree. Assumes that each pair of leaves
|
* @dev Verifies a Merkle proof proving the existence of a leaf in a Merkle tree. Assumes that each pair of leaves
|
||||||
* and each pair of pre-images is sorted.
|
* and each pair of pre-images are sorted.
|
||||||
* @param _proof Merkle proof containing sibling hashes on the branch from the leaf to the root of the Merkle tree
|
* @param _proof Merkle proof containing sibling hashes on the branch from the leaf to the root of the Merkle tree
|
||||||
* @param _root Merkle root
|
* @param _root Merkle root
|
||||||
* @param _leaf Leaf of Merkle tree
|
* @param _leaf Leaf of Merkle tree
|
||||||
|
|||||||
Reference in New Issue
Block a user