logos-storage-contracts-eth/certora/mutations/029_freezeFund_pause_bypass.patch
2025-07-30 12:03:51 +03:00

14 lines
572 B
Diff

diff --git a/contracts/Vault.sol b/contracts/Vault.sol
index 8433a08..4037209 100644
--- a/contracts/Vault.sol
+++ b/contracts/Vault.sol
@@ -210,7 +210,7 @@ contract Vault is VaultBase, Pausable, Ownable {
/// Freezes a fund. Stops all tokens flows and disallows any operations on the
/// fund until it unlocks.
/// Only allowed when the fund is locked.
- function freezeFund(FundId fundId) public whenNotPaused {
+ function freezeFund(FundId fundId) public {
Controller controller = Controller.wrap(msg.sender);
_freezeFund(controller, fundId);
}