Skip to content

Commit

Permalink
docs: pure and view functions
Browse files Browse the repository at this point in the history
  • Loading branch information
QGarchery committed Mar 12, 2024
1 parent a588de3 commit fd6cc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certora/helpers/MerkleTree.sol
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ contract MerkleTree {
node.hashNode = keccak256(abi.encode(leftNode.hashNode, rightNode.hashNode));
}

/* GETTERS */
/* PURE AND VIEW FUNCTIONS */

function isEmpty(Node memory node) public pure returns (bool) {
return node.left == 0 && node.right == 0 && node.addr == address(0) && node.reward == address(0)
Expand Down

0 comments on commit fd6cc82

Please # to comment.