Skip to content

Commit

Permalink
worked on payment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sir-Deon committed Apr 5, 2024
1 parent c53b667 commit 0bcd553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Treasury.sol
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ contract Treasury is ITreasury, AccessControl, ReentrancyGuard {
}

// Control functuons
function pauseVault() external nonReentrant {
function pauseTreasury() external nonReentrant {
require(hasRole(ADMIN_ROLE, msg.sender), "Not admin");
paused = true;
}

function unPauseVault() external nonReentrant {
function unPauseTreasury() external nonReentrant {
require(hasRole(ADMIN_ROLE, msg.sender), "Not admin");
paused = false;
}
Expand Down

0 comments on commit 0bcd553

Please sign in to comment.