mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-02 13:23:10 +00:00
remove holder restriction
This commit is contained in:
parent
e21324f3ff
commit
8cdf17987a
13
certora/mutations/033_withdrawByRecipient_auth_bypass.patch
Normal file
13
certora/mutations/033_withdrawByRecipient_auth_bypass.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/contracts/Vault.sol b/contracts/Vault.sol
|
||||
index 8433a08..e7e012d 100644
|
||||
--- a/contracts/Vault.sol
|
||||
+++ b/contracts/Vault.sol
|
||||
@@ -236,7 +236,7 @@ contract Vault is VaultBase, Pausable, Ownable {
|
||||
AccountId accountId
|
||||
) public {
|
||||
(address holder, ) = Accounts.decodeId(accountId);
|
||||
- require(msg.sender == holder, VaultOnlyAccountHolder());
|
||||
+ // require(msg.sender == holder, VaultOnlyAccountHolder());
|
||||
_withdraw(controller, fund, accountId);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user