Fix canPerform method
Even if the variable is not used and the linter might complain we have to have that parameter in the signature. otherwise the method is not found and can not be called.
This commit is contained in:
parent
d643e5842c
commit
c69ebd0a62
@ -144,7 +144,7 @@ contract Contributor is AragonApp {
|
|||||||
exists = c.exists;
|
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;
|
address sender = _who;
|
||||||
if (sender == address(-1)) {
|
if (sender == address(-1)) {
|
||||||
sender = tx.origin;
|
sender = tx.origin;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user