Merge pull request #120 from 67P/bugfix/fix-core-permissions

Fix canPerform method
This commit is contained in:
Basti 2019-04-25 21:17:37 +01:00 committed by GitHub
commit 3568d3c141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;