Merge pull request #120 from 67P/bugfix/fix-core-permissions
Fix canPerform method
This commit is contained in:
commit
3568d3c141
@ -144,7 +144,7 @@ contract Contributor is AragonApp {
|
||||
exists = c.exists;
|
||||
}
|
||||
|
||||
function canPerform(address _who, address _where, bytes32 _what/*, uint256[] memory _how*/) public returns (bool) {
|
||||
function canPerform(address _who, address _where, bytes32 _what, uint256[] memory _how) public returns (bool) {
|
||||
address sender = _who;
|
||||
if (sender == address(-1)) {
|
||||
sender = tx.origin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user