Skip to content

Commit

Permalink
fix: change access
Browse files Browse the repository at this point in the history
  • Loading branch information
Picodes committed May 13, 2024
1 parent 97e9749 commit 76eff14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Distributor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ contract Distributor is UUPSHelper {

/// @notice Resolve the ongoing dispute, if any
/// @param valid Whether the dispute was valid
function resolveDispute(bool valid) external onlyGovernorOrGuardian {
function resolveDispute(bool valid) external onlyGovernor {
if (disputer == address(0)) revert NoDispute();
if (valid) {
IERC20(disputeToken).safeTransfer(disputer, disputeAmount);
Expand All @@ -264,7 +264,7 @@ contract Distributor is UUPSHelper {

/// @notice Allows the governor or the guardian of this contract to fallback to the last version of the tree
/// immediately
function revokeTree() external onlyGovernorOrGuardian {
function revokeTree() external onlyGovernor {
if (disputer != address(0)) revert UnresolvedDispute();
_revokeTree();
}
Expand Down

0 comments on commit 76eff14

Please sign in to comment.