Skip to content

Commit

Permalink
revert: "fix: only timelock can invoke reduce reserves"
Browse files Browse the repository at this point in the history
This reverts commit 74d03cc.
  • Loading branch information
web3rover committed Aug 7, 2023
1 parent 3a0afdb commit 08cd99c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/Admin/VBNBAdmin.sol
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ contract VBNBAdmin is ReentrancyGuardUpgradeable, AccessControlledV8, VBNBAdminS
* @param reduceAmount amount of reserves to reduce
*/
function reduceReserves(uint reduceAmount) external nonReentrant {
_checkAccessAllowed("reduceReserves(uint256)");

require(vBNB._reduceReserves(reduceAmount) == 0, "reduceReserves failed");
_wrapBNB();

Expand Down

0 comments on commit 08cd99c

Please sign in to comment.