Skip to content

Commit

Permalink
acl: fix functions indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
facuspagnuolo committed May 27, 2020
1 parent 200702c commit bb13e35
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions contracts/acl/ACL.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ contract ACL is IACL, TimeHelpers, AragonApp, ACLHelpers {
uint8 internal constant ORACLE_PARAM_ID = 203;
uint8 internal constant LOGIC_OP_PARAM_ID = 204;
uint8 internal constant PARAM_VALUE_PARAM_ID = 205;
// TODO: Add execution times param type?

/* Hardcoded constant to save gas
bytes32 public constant EMPTY_PARAM_HASH = keccak256(uint256(0));
Expand Down Expand Up @@ -269,7 +268,10 @@ contract ACL is IACL, TimeHelpers, AragonApp, ACLHelpers {
address _where,
bytes32 _what,
uint256[] _how
) public view returns (bool)
)
public
view
returns (bool)
{
if (_paramsHash == EMPTY_PARAM_HASH) {
return true;
Expand Down Expand Up @@ -322,7 +324,10 @@ contract ACL is IACL, TimeHelpers, AragonApp, ACLHelpers {
address _where,
bytes32 _what,
uint256[] _how
) internal view returns (bool)
)
internal
view
returns (bool)
{
if (_paramId >= permissionParams[_paramsHash].length) {
return false; // out of bounds
Expand Down

0 comments on commit bb13e35

Please sign in to comment.