Commit 683d4f8
authored
Remove redundant kernel check in AragonApp.getRecoveryVault() (#433)
* Remove redundant checks before making calls
When using the native call syntax `target.method(...)` solc introduces
a check for the code size of the target (and reverts if it is 0), therefore
we don't need to manually ensure that the target address is not 0 before making
a call, as the size of the address 0 will be 0, and therefore already revert
* Revert removing ACL existence check in kernel.hasPermission1 parent 7d70ffe commit 683d4f8
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
67 | 66 | | |
68 | 67 | | |
0 commit comments