Skip to content

Commit

Permalink
H-03
Browse files Browse the repository at this point in the history
  • Loading branch information
Picodes committed Jul 14, 2023
1 parent 7402ee6 commit 82d8c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/Distributor.sol
Expand Up @@ -197,7 +197,7 @@ contract Distributor is UUPSHelper {

/// @notice Returns the MerkleRoot that is currently live for the contract
function getMerkleRoot() public view returns (bytes32) {
if (block.timestamp >= endOfDisputePeriod) return tree.merkleRoot;
if (block.timestamp >= endOfDisputePeriod && disputer == address(0)) return tree.merkleRoot;
else return lastTree.merkleRoot;
}

Expand Down

0 comments on commit 82d8c0f

Please sign in to comment.